From 61e63896a5cbcbb5ffdcea819214889640f1ae2c Mon Sep 17 00:00:00 2001 From: Lukian LEIZOUR Date: Tue, 28 Mar 2023 11:45:59 +0200 Subject: [PATCH] commit --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 7de991e..6e76fcf 100644 --- a/app.js +++ b/app.js @@ -218,15 +218,15 @@ bot.command('addmsg', async ctx => { } }) -//Discord commands +//Discord events client.on('ready', () => { console.log(`[Discord] Logged in as ${client.user.tag} !`); client.user.setPresence({ activities: [{ name: 'la belle chaise', type : 3}] }); }); discordEvents.newMessage(client); + discordEvents.newInteraction(client); -//bot launch bot.launch() client.login(process.env.DISCORD); \ No newline at end of file