doing same on set activity
This commit is contained in:
1 parent
49c6ee87b6
commit
14f516e602
1 file changed
+1
-4
@@ -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