hullcss-discord-bot/SlashCommands/general/buy.js

23 lines
720 B
JavaScript
Raw Normal View History

2022-06-27 10:40:12 +01:00
const { Client, CommandInteraction, MessageEmbed } = require("discord.js");
module.exports = {
name: "buy",
2022-06-27 14:34:43 +01:00
description: "returns membership purchase link",
2022-06-27 10:40:12 +01:00
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')
2022-07-01 18:46:51 +01:00
.setFooter({ text: `Called By: ${interaction.user.tag}`})
2022-06-27 10:40:12 +01:00
.addField('You can purchase from below!','https://hulluniunion.com/shop?aid=304')
interaction.reply({ embeds: [embed] });
2022-06-27 10:40:12 +01:00
},
};