You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nucleus/COMMANDS/mod/slowmode/toggle.ts

20 lines
592 B

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