Added links slash command
parent
7ff59750c9
commit
ed83daa171
|
@ -0,0 +1,21 @@
|
|||
const { Client, CommandInteraction, MessageEmbed } = require("discord.js");
|
||||
|
||||
module.exports = {
|
||||
name: "links",
|
||||
description: "returns links of Hullcss",
|
||||
type: 'CHAT_INPUT',
|
||||
/**
|
||||
*
|
||||
* @param {Client} client
|
||||
* @param {CommandInteraction} interaction
|
||||
* @param {String[]} args
|
||||
*/
|
||||
run: async (client, interaction, args) => {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle("Links!")
|
||||
.setColor('GREEN')
|
||||
.setFooter(`Called By: ${interaction.user.tag}`)
|
||||
.addField('Find us here:','https://hullcss.org/links')
|
||||
interaction.followUp({ embeds: [embed]});
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue