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

22 lines
1009 B
JavaScript

const { Client, CommandInteraction, MessageEmbed } = require("discord.js");
module.exports = {
name: "freeside",
description: "returns freeside discord link",
type: 'CHAT_INPUT',
/**
*
* @param {Client} client
* @param {CommandInteraction} interaction
* @param {String[]} args
*/
run: async (client, interaction, args) => {
const embed = new MessageEmbed()
.setTitle("Freeside")
.setColor('ORANGE')
.setFooter({ text: `Called By: ${interaction.user.tag}`})
.setDescription('Freeside is the student run and maintained linux cluster within the University Of Hull Computer Science Department providing Linux administration experience, mentoring and technical advice alongside other peer-led support. It is completely free to all students to join, irrespective of degree pathway.')
.addField('You can join them from below!','https://discord.com/invite/qAZ8dAp')
interaction.reply({ embeds: [embed] });
},
};