mirror of
https://github.com/HirziDevs/PteroStats
synced 2026-09-04 23:27:02 +00:00
Fix bot status
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ module.exports = {
|
||||
if (!['PLAYING', 'WATCHING', 'LISTENING', 'COMPETING'].includes(client.config.bot_status.type)) {
|
||||
console.log('Invalid Status Type!, Can be "WATCHING", "PLAYING", "LISTENING", or "COMPETING"')
|
||||
} else {
|
||||
client.user.setActivity(client.config.status.text, { type: client.config.status.type })
|
||||
client.user.setActivity(client.config.bot_status.text, { type: client.config.bot_status.type })
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user