Changed the event handler

This commit is contained in:
2024-09-16 13:59:19 +02:00
parent 957536fb62
commit 50a70797b4
10 changed files with 20 additions and 54 deletions

View File

@@ -1,13 +1,9 @@
import { IEvent } from "interfaces"
import { ExtendedClient as Client } from "utils/Client.js"
import { color } from "utils/functions/colors.js"
export default {
name: "conolelog",
description: "console log",
event: "ready",
execute(client: Client) {
execute(client) {
console.log(color("Logged in as " + client.user!.tag + "!", "green"))
}
} as IEvent
} as IEvent<"ready">