Fixed database stop crash, made playing status use the current bot username

This commit is contained in:
TheEssem 2020-12-18 18:57:41 -06:00
parent 5fa5f21289
commit 9b4861ae4a
4 changed files with 12 additions and 11 deletions

View file

@ -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);
})();