summary refs log tree commit diff
path: root/slowcord/bot/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'slowcord/bot/src/index.ts')
-rw-r--r--slowcord/bot/src/index.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/slowcord/bot/src/index.ts b/slowcord/bot/src/index.ts

index 07a6aa7c..2113b3a8 100644 --- a/slowcord/bot/src/index.ts +++ b/slowcord/bot/src/index.ts
@@ -1,6 +1,6 @@ import "dotenv/config"; import Fosscord from "fosscord-gopnik"; -import Bot from "./Bot"; +import Bot from "./Bot.js"; // huh? const client = new Fosscord.Client({ intents: ["GUILD_MESSAGES"], @@ -15,7 +15,6 @@ const client = new Fosscord.Client({ const bot = new Bot(client); client.on("ready", bot.onReady); - client.on("messageCreate", bot.onMessageCreate); client.login(process.env.TOKEN); \ No newline at end of file