blob: 9e22d0c81794b853c1ada22ed954613a3dcf0f1d [file] [log] [blame]
Skyler Turner66ac7942022-02-24 01:59:22 +00001import { CommandInteraction } from "discord.js";
2import { SlashCommandSubcommandBuilder } from "@discordjs/builders";
3import { WrappedCheck } from "jshaiku";
4
5const command = (builder: SlashCommandSubcommandBuilder) =>
6 builder
pineafan2c33b9f2022-02-25 20:35:23 +00007 .setName("avatar")
8 .setDescription("Shows a users avatar")
Skyler Turner66ac7942022-02-24 01:59:22 +00009
10const callback = (interaction: CommandInteraction) => {
pineafan2c33b9f2022-02-25 20:35:23 +000011 interaction.reply("Command incomplete [user/avatar]");
Skyler Turner66ac7942022-02-24 01:59:22 +000012}
13
14const check = (interaction: CommandInteraction, defaultCheck: WrappedCheck) => {
pineafan2c33b9f2022-02-25 20:35:23 +000015 return true;
Skyler Turner66ac7942022-02-24 01:59:22 +000016}
17
18export { command };
19export { callback };
20export { check };