joel joel joel
This commit is contained in:
12
commands/command.d.ts
vendored
Normal file
12
commands/command.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import type {
|
||||
CacheType,
|
||||
ChatInputCommandInteraction,
|
||||
SlashCommandBuilder,
|
||||
} from "discord.js";
|
||||
|
||||
export interface Command {
|
||||
data: SlashCommandBuilder;
|
||||
execute: (
|
||||
interaction: ChatInputCommandInteraction<CacheType>
|
||||
) => Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user