blob: 73e967e9afae8a463bc67f25a0c3ca373afd9ff6 [file] [log] [blame]
import { CommandInteraction } from "discord.js";
import { SlashCommandBuilder } from "@discordjs/builders";
import { WrappedCheck } from "jshaiku";
const command = new SlashCommandBuilder()
.setName("examplecommand")
.setDescription("An example command")
const callback = (interaction: CommandInteraction) => {
interaction.reply("Hello, world!");
}
const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
return interaction.user.id !== "123456789";
}
export { command };
export { callback };
export { check };