💡 Added comments
This commit is contained in:
parent
537e5223a0
commit
30e992b5b9
4 changed files with 4 additions and 0 deletions
|
@ -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": {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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":
|
||||
|
|
Loading…
Add table
Reference in a new issue