Skip to content

Commit

Permalink
feat(ready-event): ✨ Add version when ready
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefouch committed Sep 24, 2022
1 parent faa422f commit 1ea77d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/events/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ module.exports = class ReadyEvent extends SebediusEvent {
name = 'ready';
once = true;
async execute() {
Logger.client('✅ Sebedius is ready!');
Logger.client(`✅ Sebedius v${this.bot.version} is ready!`);
Logger.client(` ├ Logged in as: ${this.bot.user.tag} (${this.bot.user.id})`);
Logger.client(` └ # Guilds: ${this.bot.guilds.cache.size}`);

this.bot.webhookManager.sendLog(`👨‍🔬 **Sebedius** is \`ready\` ! (\`${this.bot.guilds.cache.size}\` guilds)`);
this.bot.webhookManager.sendLog(
`👨‍🔬 **Sebedius** v${this.bot.version} is \`ready\` ! (\`${this.bot.guilds.cache.size}\` guilds)`,
);

// Sets presence.
this.bot.user.setActivity({
Expand Down

0 comments on commit 1ea77d3

Please sign in to comment.