sets activity
This commit is contained in:
parent
2aa72c0ea2
commit
23f3a61fa1
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ console.log(client.commands);
|
|||
|
||||
client.once('ready', () => {
|
||||
console.log('Ready!');
|
||||
client.user.setActivity(prefix, { type: 'LISTENING' });
|
||||
|
||||
});
|
||||
|
||||
client.once('reconnecting', () => {
|
||||
|
@ -36,7 +38,7 @@ client.on('message', async message => {
|
|||
|
||||
if (message.author.bot) return;
|
||||
if (!message.content.startsWith(prefix)) return;
|
||||
|
||||
|
||||
try {
|
||||
if (commandName == "ban" || commandName == "userinfo" || commandName == "botinfo") {
|
||||
command.execute(message, client);
|
||||
|
|
Loading…
Add table
Reference in a new issue