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("viewas") |
| 8 | .setDescription("View the server as a specific member") |
| 9 | |
| 10 | const callback = (interaction: CommandInteraction) => { |
| 11 | interaction.reply("Command incomplete [mod/viewas]"); |
| 12 | } |
| 13 | |
| 14 | const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => { |
| 15 | return true; |
| 16 | } |
| 17 | |
| 18 | export { command }; |
| 19 | export { callback }; |
| 20 | export { check }; |