Changed the event handler
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user