Added links slash command

imgbot
kieranrobson 2022-05-13 10:58:21 +01:00
parent 7ff59750c9
commit ed83daa171
1 changed files with 21 additions and 0 deletions

View File

@ -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]});
},
};