From 5a30c8bb1cf2e62606cd0c162220bd01ada6f90b Mon Sep 17 00:00:00 2001 From: Oleksandr Honcharov <0976053529@ukr.net> Date: Thu, 6 Jun 2024 04:32:24 +0300 Subject: [PATCH] payments command --- src/commands/payments.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/commands/payments.ts diff --git a/src/commands/payments.ts b/src/commands/payments.ts new file mode 100644 index 0000000..b698f2e --- /dev/null +++ b/src/commands/payments.ts @@ -0,0 +1,27 @@ +import { Discord, Slash } from 'discordx' +import { CommandInteraction, EmbedBuilder } from 'discord.js' + +@Discord() +export class Payments { + @Slash({ + name: 'payments', + description: 'See available payments', + }) + async payments(interaction: CommandInteraction) { + const embed = new EmbedBuilder().setTitle(`Payments`).setFields([ + { + name: 'Crypto:', + value: + 'Wallet number: `TRdGKNPABvoTrdwHgfUTX65DbqbguTh6cc`\n' + + 'Crypto name: `USDT`\n' + + 'Network name: `TRC20`', + }, + { + name: 'PayPal:', + value: '`khamidalakkhali@gmail.com` | Types: Friends and Family', + }, + ]) + + await interaction.reply({ embeds: [embed] }) + } +}