blob: 12ab7a8c45aca98809a3af133f86c0d877285336 [file] [log] [blame]
pineafan4f164f32022-02-26 22:07:12 +00001import { CommandInteraction } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4
5const command = (builder: SlashCommandSubcommandBuilder) =>
6 builder
7 .setName("viewas")
8 .setDescription("View the server as a specific member")
9
10const callback = (interaction: CommandInteraction) => {
11 interaction.reply("Command incomplete [mod/viewas]");
12}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
15 return true;
16}
17
18export { command };
19export { callback };
20export { check };