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