doing same on set activity

This commit is contained in:
Dalton
2018-12-11 21:04:21 -08:00
parent 49c6ee87b6
commit 14f516e602

5
bot.js
View File

@@ -396,10 +396,7 @@ client.on('ready', () => {
setStatus = availableStatus[Math.floor(Math.random() * availableStatus.length)]; setStatus = availableStatus[Math.floor(Math.random() * availableStatus.length)];
// todo this set activity returns a promise and we aren't doing anything with it // todo this set activity returns a promise and we aren't doing anything with it
client.user.setActivity(setStatus, {type: setType}) client.user.setActivity(setStatus, {type: setType});
.catch(error => {
sendToBotTestingChannel('client.user.setActivity:' + error.message);
});
}) })
; ;