Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit bd02251

Browse files
committed
feat: Add overengineered ready event.
1 parent d3ecaef commit bd02251

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/events/ready.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { ActivityType, Client } from "discord.js";
2+
import { KOGBot } from "index.js";
3+
4+
export default class ReadyEvent implements GatewayEvent {
5+
name: string = 'ready';
6+
once: boolean = true;
7+
8+
async code (kogBot: KOGBot, client: Client) {
9+
await client.user?.setPresence({
10+
status: "idle",
11+
activities: [{
12+
name: "with your mom",
13+
type: ActivityType.Playing
14+
}]
15+
})
16+
}
17+
}

0 commit comments

Comments
 (0)