commit
This commit is contained in:
parent
4d944dd64a
commit
7cbaa32b60
3 changed files with 64 additions and 22 deletions
7
app.js
7
app.js
|
@ -219,14 +219,13 @@ bot.command('addmsg', async ctx => {
|
|||
})
|
||||
|
||||
//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.ready(client);
|
||||
|
||||
discordEvents.newMessage(client);
|
||||
|
||||
discordEvents.newInteraction(client);
|
||||
|
||||
discordEvents.guildCreate(client);
|
||||
|
||||
bot.launch()
|
||||
client.login(process.env.DISCORD);
|
Loading…
Add table
Add a link
Reference in a new issue