fix: use clientReady event instead of deprecated ready
This commit is contained in:
@@ -83,7 +83,7 @@ function updateAll() {
|
||||
}
|
||||
}
|
||||
|
||||
client.on("ready", () => {
|
||||
client.on("clientReady", () => {
|
||||
console.log(`Bot online as ${client.user.tag}`);
|
||||
client.user.setActivity("Watching Presence", { type: ActivityType.Watching });
|
||||
updateAll();
|
||||
|
||||
Reference in New Issue
Block a user