Only show first prefix
This commit is contained in:
parent
c37d9eb85e
commit
68b16cf86c
1 changed files with 4 additions and 4 deletions
|
@ -21,16 +21,16 @@ class ReadyListener extends Listener {
|
|||
console.log('Status type: Watching');
|
||||
|
||||
let status = watch[Math.floor((Math.random() * watch.length))];
|
||||
status = status.replace('${prefix}', prefix);
|
||||
status = status.replace('${prefix}', prefix[0]);
|
||||
|
||||
this.client.user.setActivity(`${status} | ${prefix} help`, { type: 'WATCHING' });
|
||||
this.client.user.setActivity(`${status} | ${prefix[0]} help`, { type: 'WATCHING' });
|
||||
} else {
|
||||
console.log('Status type: Playing');
|
||||
|
||||
let status = game[Math.floor((Math.random() * game.length))];
|
||||
status = status.replace('${prefix}', prefix);
|
||||
status = status.replace('${prefix}', prefix[0]);
|
||||
|
||||
this.client.user.setActivity(`${status} | ${prefix} help`, { type: 'PLAYING' });
|
||||
this.client.user.setActivity(`${status} | ${prefix[0]} help`, { type: 'PLAYING' });
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue