commit
This commit is contained in:
parent
b4470642f7
commit
61e63896a5
1 changed files with 2 additions and 2 deletions
4
app.js
4
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);
|
Loading…
Add table
Add a link
Reference in a new issue