|
@@ -21,7 +21,7 @@ client.bot.on("ready", async () => {
|
|
logger.info("NoctBot is ready");
|
|
logger.info("NoctBot is ready");
|
|
});
|
|
});
|
|
|
|
|
|
-client.bot.on("message", async m => {
|
|
|
|
|
|
+client.bot.on("messageCreate", async m => {
|
|
if (m.author.id == client.botUser.id)
|
|
if (m.author.id == client.botUser.id)
|
|
return;
|
|
return;
|
|
|
|
|