pineafan | 8b4b17f | 2022-02-27 20:42:52 +0000 | [diff] [blame] | 1 | import { CommandInteraction } from "discord.js"; |
| 2 | import { SlashCommandBuilder } from "@discordjs/builders"; |
| 3 | import { WrappedCheck } from "jshaiku"; |
| 4 | |
| 5 | const command = new SlashCommandBuilder() |
| 6 | .setName("server") |
| 7 | .setDescription("Shows info about the server") |
| 8 | |
| 9 | const callback = (interaction: CommandInteraction) => { |
| 10 | interaction.reply("Command incomplete [server]"); |
| 11 | } |
| 12 | |
| 13 | const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| 14 | return true; |
| 15 | } |
| 16 | |
| 17 | export { command }; |
| 18 | export { callback }; |
| 19 | export { check }; |