Updated type system
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { IEvent } from "~/interfaces"
|
||||
import { Event } from "~/typings"
|
||||
import { log } from "~/utils/Logger.js"
|
||||
|
||||
const event: IEvent<"interactionCreate"> = (interaction) => {
|
||||
const event: Event<"interactionCreate"> = (interaction) => {
|
||||
if (interaction.isChatInputCommand()) {
|
||||
let subcommand: string | null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user