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

21 lines
637 B
JavaScript
Raw Normal View History

2022-05-13 10:58:21 +01:00
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]});
},
};