doing same on set activity
This commit is contained in:
5
bot.js
5
bot.js
@@ -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);
|
|
||||||
});
|
|
||||||
})
|
})
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user