Add Slash Commands - Buy
parent
c722b21e2b
commit
1813f0371d
|
@ -0,0 +1,22 @@
|
|||
const { Client, CommandInteraction, MessageEmbed } = require("discord.js");
|
||||
|
||||
module.exports = {
|
||||
name: "buy",
|
||||
description: "returns mmembership purchase link",
|
||||
type: 'CHAT_INPUT',
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {CommandInteraction} interaction
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction, args) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle("Thanks for considering to become a paid member!")
|
||||
.setColor('GREEN')
|
||||
.setFooter(`Called By: ${interaction.user.tag}`)
|
||||
.addField('You can purchase from below!','https://hulluniunion.com/shop?aid=304')
|
||||
interaction.channel.send({ embeds: [embed] });
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue