💡 Added comments
This commit is contained in:
parent
8e260391f6
commit
586caab107
2 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ export const builder = new SlashCommandBuilder()
|
|||
|
||||
.addSubcommand(modules.lookup.builder);
|
||||
|
||||
// Execute the command
|
||||
export const execute = async (interaction: ChatInputCommandInteraction) => {
|
||||
switch (interaction.options.getSubcommand()) {
|
||||
case "lookup":
|
||||
|
|
|
@ -8,6 +8,7 @@ import modules from "./modules";
|
|||
// Function
|
||||
export const moduleData = modules;
|
||||
|
||||
// Create a discord builder
|
||||
export const builder = (group: SlashCommandSubcommandGroupBuilder) => {
|
||||
return group
|
||||
.setName("counters")
|
||||
|
@ -16,6 +17,7 @@ export const builder = (group: SlashCommandSubcommandGroupBuilder) => {
|
|||
.addSubcommand(modules.remove.builder);
|
||||
};
|
||||
|
||||
// Execute the command
|
||||
export const execute = async (interaction: ChatInputCommandInteraction) => {
|
||||
const { options } = interaction;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue