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

22 lines
1009 B
JavaScript
Raw Normal View History

2022-06-27 10:43:29 +01:00
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')
2022-07-01 18:46:51 +01:00
.setFooter({ text: `Called By: ${interaction.user.tag}`})
2022-06-27 10:43:29 +01:00
.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] });
2022-06-27 10:43:29 +01:00
},
};