diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-04 10:05:14 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-04 10:05:14 -0500 |
| commit | cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a (patch) | |
| tree | deffb57bee9fe24a8d1b8143fba603774544ee00 /bot/src/events/ClientReady.js | |
| parent | 11bb9ab6b30314d91209bc9888d95783cc247e98 (diff) | |
| download | AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.gz AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.tar.bz2 AleeBot-cc06b8ed4e4e0aef02dfd8ab15df22a57a177a0a.zip | |
Readme change; Docker; Logging
Diffstat (limited to 'bot/src/events/ClientReady.js')
| -rw-r--r-- | bot/src/events/ClientReady.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/events/ClientReady.js b/bot/src/events/ClientReady.js index def2c88..af03e25 100644 --- a/bot/src/events/ClientReady.js +++ b/bot/src/events/ClientReady.js @@ -22,7 +22,7 @@ function botActivity(client) { export default { name: Events.ClientReady, once: true, - execute(client) { + async execute(client) { console.log('[>] AleeBot is now ready!'); console.log(`[i] Logged in as ${client.user.tag}`); console.log(`[i] Bot ID: ${client.user.id}`); @@ -44,7 +44,7 @@ export default { let statusChannel = client.channels.cache.get(process.env.statusChannelID); if (!statusChannel) return console.error('The status channel does not exist! Skipping.'); - statusChannel.send({ embeds: [readyEmbed]}); + await statusChannel.send({ embeds: [readyEmbed]}); } setInterval(function() { |
