Fixed database stop crash, made playing status use the current bot username
This commit is contained in:
parent
5fa5f21289
commit
9b4861ae4a
4 changed files with 12 additions and 11 deletions
|
@ -23,7 +23,7 @@ module.exports = async () => {
|
|||
// set activity (a.k.a. the gamer code)
|
||||
(async function activityChanger() {
|
||||
client.editStatus("dnd", {
|
||||
name: `${misc.random(messages)} | @esmBot help`,
|
||||
name: `${misc.random(messages)} | @${client.user.username} help`,
|
||||
});
|
||||
setTimeout(activityChanger, 900000);
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue