mirror of
https://github.com/hazemKrimi/discord-bot.git
synced 2026-05-01 18:30:25 +00:00
Set dynamic status type
This commit is contained in:
@@ -137,7 +137,7 @@ client.registry
|
||||
.registerCommandsIn(path.join(__dirname, 'commands'));
|
||||
|
||||
client.once('ready', () => {
|
||||
client.user.setActivity(process.env.STATUS || 'amsa7 lak7el');
|
||||
client.user.setActivity(process.env.STATUS || 'amsa7 lak7el', { type: process.env.STATUS_TYPE });
|
||||
});
|
||||
|
||||
client.on('debug', msg => logger.log('debug', msg));
|
||||
|
||||
Reference in New Issue
Block a user