pineafan | 4f164f3 | 2022-02-26 22:07:12 +0000 | [diff] [blame] | 1 | import { CommandInteraction } from "discord.js"; |
| 2 | import { SlashCommandSubcommandBuilder } from "@discordjs/builders"; |
| 3 | import { WrappedCheck } from "jshaiku"; |
| 4 | |
| 5 | const command = (builder: SlashCommandSubcommandBuilder) => |
| 6 | builder |
| 7 | .setName("channel") |
| 8 | .setDescription("Sets the channel for staff messages to go to") |
| 9 | |
| 10 | const callback = (interaction: CommandInteraction) => { |
pineafan | 377794f | 2022-04-18 19:01:01 +0100 | [diff] [blame^] | 11 | interaction.reply("This command is not yet finished [settings/mod/channel]"); |
pineafan | 4f164f3 | 2022-02-26 22:07:12 +0000 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| 15 | return true; |
| 16 | } |
| 17 | |
| 18 | export { command }; |
| 19 | export { callback }; |
| 20 | export { check }; |