fix no. 2

This commit is contained in:
fzzinchemical
2025-03-26 19:30:29 +01:00
parent 356a319b89
commit f0a5b2e413

View File

@@ -1,5 +1,5 @@
import { createBot, Intents, startBot } from "npm:discordeno@18.0.1"; import { createBot, Intents, startBot } from "npm:discordeno@18.0.1";
import { yandereMessageHandler } from "./messages.ts"; import { messagehandler } from "./messages.ts";
const BOT_TOKEN = Deno.env.get("BOT_TOKEN") ?? ""; const BOT_TOKEN = Deno.env.get("BOT_TOKEN") ?? "";
if (!BOT_TOKEN) { if (!BOT_TOKEN) {
@@ -14,7 +14,7 @@ const bot = createBot({
console.log("Bot is ready!"); console.log("Bot is ready!");
}, },
async messageCreate(bot, message) { async messageCreate(bot, message) {
await yandereMessageHandler(bot, message); await messagehandler(bot, message);
} }
} }
}); });