doing same on set activity

This commit is contained in:
Dalton committed 2018-12-11 21:04:21 -08:00
1 parent 49c6ee87b6
commit 14f516e602
1 file changed
+1 -4
+1 -4
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);
});
}) })
; ;