1
0
Fork 0

changed the way it says the prefix because it looked weird

akairo
Loïc Bersier 5 years ago
parent 4ceb666727
commit c7ff663155

@ -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

Loading…
Cancel
Save