From 049a2dbebb9b6f88cfa25be7b6fa049f450091e2 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 29 Apr 2022 20:03:58 -0400 Subject: [PATCH] Don't log pings. --- ljsthw-bot.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/ljsthw-bot.js b/ljsthw-bot.js index af52144..2effb61 100644 --- a/ljsthw-bot.js +++ b/ljsthw-bot.js @@ -1,10 +1,8 @@ import { Client, Intents } from "discord.js"; import assert from "assert"; import { TOKEN, chat_secret } from "./secrets/discord.js"; -import http from "http"; import { io } from "socket.io-client"; -const server = http.createServer(); const socket = io("ws://localhost:5001"); socket.io.on("error", (error) => { @@ -12,7 +10,6 @@ socket.io.on("error", (error) => { }); socket.io.on("ping", () => { - console.log("PING"); }); socket.on("connect", () => {