changed the way it says the prefix because it looked weird

This commit is contained in:
Loïc Bersier 2019-07-05 19:04:06 +02:00
parent 4ceb666727
commit c7ff663155

View file

@ -23,14 +23,14 @@ class ReadyListener extends Listener {
let status = watch[Math.floor((Math.random() * watch.length))]; let status = watch[Math.floor((Math.random() * watch.length))];
status = status.replace('${prefix}', prefix[0]); status = status.replace('${prefix}', prefix[0]);
this.client.user.setActivity(`${status} | ${prefix[0]} help`, { type: 'WATCHING' }); this.client.user.setActivity(`${status} | My prefix is: ${prefix[0]} `, { type: 'WATCHING' });
} else { } else {
console.log('Status type: Playing'); console.log('Status type: Playing');
let status = game[Math.floor((Math.random() * game.length))]; let status = game[Math.floor((Math.random() * game.length))];
status = status.replace('${prefix}', prefix[0]); status = status.replace('${prefix}', prefix[0]);
this.client.user.setActivity(`${status} | ${prefix[0]} help`, { type: 'PLAYING' }); this.client.user.setActivity(`${status} | My prefix is: ${prefix[0]}`, { type: 'PLAYING' });
} }
// Send stats to the 'stats' channel in the support server if its not the test bot // Send stats to the 'stats' channel in the support server if its not the test bot