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

21 lines
637 B
JavaScript

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