fix
This commit is contained in:
parent
849d98afda
commit
2319ac9f27
@ -2,13 +2,13 @@ import { Discord, Slash } from 'discordx'
|
|||||||
import { CommandInteraction, EmbedBuilder } from 'discord.js'
|
import { CommandInteraction, EmbedBuilder } from 'discord.js'
|
||||||
|
|
||||||
@Discord()
|
@Discord()
|
||||||
export class Payments {
|
export class Help {
|
||||||
@Slash({
|
@Slash({
|
||||||
name: 'payments',
|
name: 'help',
|
||||||
description: 'See available payments',
|
description: 'See available commands',
|
||||||
defaultMemberPermissions: 'Administrator',
|
defaultMemberPermissions: 'Administrator',
|
||||||
})
|
})
|
||||||
async payments(interaction: CommandInteraction) {
|
async help(interaction: CommandInteraction) {
|
||||||
await interaction.deferReply({ ephemeral: true })
|
await interaction.deferReply({ ephemeral: true })
|
||||||
|
|
||||||
const embed = new EmbedBuilder().setTitle(`Commands`).setFields([
|
const embed = new EmbedBuilder().setTitle(`Commands`).setFields([
|
||||||
|
Loading…
Reference in New Issue
Block a user