From 2319ac9f270cf38415fe764bddc6aabf84f5c3fc Mon Sep 17 00:00:00 2001 From: Danya H Date: Tue, 11 Jun 2024 19:14:42 +0100 Subject: [PATCH] fix --- src/commands/admin/help.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/admin/help.ts b/src/commands/admin/help.ts index a181bf6..1a682c4 100644 --- a/src/commands/admin/help.ts +++ b/src/commands/admin/help.ts @@ -2,13 +2,13 @@ import { Discord, Slash } from 'discordx' import { CommandInteraction, EmbedBuilder } from 'discord.js' @Discord() -export class Payments { +export class Help { @Slash({ - name: 'payments', - description: 'See available payments', + name: 'help', + description: 'See available commands', defaultMemberPermissions: 'Administrator', }) - async payments(interaction: CommandInteraction) { + async help(interaction: CommandInteraction) { await interaction.deferReply({ ephemeral: true }) const embed = new EmbedBuilder().setTitle(`Commands`).setFields([