| import { CommandInteraction } from "discord.js"; |
| import { SlashCommandSubcommandBuilder } from "@discordjs/builders"; |
| import { WrappedCheck } from "jshaiku"; |
| |
| const command = (builder: SlashCommandSubcommandBuilder) => |
| builder |
| .setName("clear") |
| .setDescription("Sets slowmode in a channel") |
| |
| const callback = (interaction: CommandInteraction) => { |
| interaction.reply("Command incomplete [mod/slowmode/set]"); |
| } |
| |
| const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| return true; |
| } |
| |
| export { command }; |
| export { callback }; |
| export { check }; |