generated from nhcarrigan/template
feat: migrate from github
This commit is contained in:
19
src/interfaces/Command.ts
Normal file
19
src/interfaces/Command.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import {
|
||||
SlashCommandBuilder,
|
||||
SlashCommandOptionsOnlyBuilder,
|
||||
SlashCommandSubcommandsOnlyBuilder
|
||||
} from "discord.js";
|
||||
|
||||
import { ExtendedClient } from "./ExtendedClient";
|
||||
import { GuildCommandInteraction } from "./Interactions";
|
||||
|
||||
export interface Command {
|
||||
data:
|
||||
| SlashCommandOptionsOnlyBuilder
|
||||
| Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">
|
||||
| SlashCommandSubcommandsOnlyBuilder;
|
||||
run: (
|
||||
bot: ExtendedClient,
|
||||
interaction: GuildCommandInteraction
|
||||
) => Promise<void>;
|
||||
}
|
Reference in New Issue
Block a user