Skip to content

Commit c602a1e

Browse files
committed
complete
1 parent dbfab90 commit c602a1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ async function sendDockerStatsToDiscord() {
125125

126126

127127
// Login to bot and sent message
128-
129-
130-
131-
128+
client.on('ready', () => {
129+
console.log(`Logged in as ${client.user.tag}`);
130+
sendDockerStatsToDiscord();
131+
})
132132

133133

134134

0 commit comments

Comments
 (0)