feat: migrate from github

This commit is contained in:
2024-05-12 01:52:39 -07:00
commit 7437deab71
118 changed files with 10375 additions and 0 deletions

19
src/interfaces/Command.ts Normal file
View 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>;
}