Browse Source

Don't log pings.

master
Zed A. Shaw 3 weeks ago
parent
commit
049a2dbebb
  1. 3
      ljsthw-bot.js

3
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", () => {

Loading…
Cancel
Save