Show username on login

This commit is contained in:
janderedev 2022-01-03 15:44:19 +01:00
parent 51291998b3
commit 8ae2533ca1
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -24,7 +24,7 @@ let login = (client: Revolt.Client): Promise<void> => new Promise((resolve, reje
client.loginBot(env['BOT_TOKEN']);
client.once('ready', () => {
logger.done('Bot logged in!');
logger.done(`Bot logged in as ${client.user?.username}!`);
resolve();
});
});