This commit is contained in:
Danya H 2024-06-11 19:14:42 +01:00
parent 849d98afda
commit 2319ac9f27

View File

@ -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([