💡 Added comments

This commit is contained in:
Axel Olausson Holtenäs 2022-10-16 15:09:14 +02:00
parent 537e5223a0
commit 30e992b5b9
4 changed files with 4 additions and 0 deletions

View file

@ -10,6 +10,7 @@ export const builder = new SlashCommandBuilder()
.addSubcommand(modules.prune.builder);
// Execute the command
export const execute = async (interaction: ChatInputCommandInteraction) => {
switch (interaction.options.getSubcommand()) {
case "prune": {

View file

@ -15,6 +15,7 @@ export const builder = new SlashCommandBuilder()
.setDescription("Check a profile.")
.addSubcommand(modules.view.builder);
// Execute the command
export const execute = async (interaction: ChatInputCommandInteraction) => {
const { options } = interaction;

View file

@ -16,6 +16,7 @@ export const builder = new SlashCommandBuilder()
.addSubcommand(modules.cpgg.builder)
.addSubcommandGroup(modules.roles.builder);
// Execute the command
export const execute = async (interaction: ChatInputCommandInteraction) => {
const { options } = interaction;

View file

@ -13,6 +13,7 @@ export const builder = new SlashCommandBuilder()
.addSubcommand(modules.avatar.builder)
.addSubcommand(modules.ping.builder);
// Execute the command
export const execute = async (interaction: ChatInputCommandInteraction) => {
switch (interaction.options.getSubcommand()) {
case "about":