chore: Fix lint
parent
730ad225e9
commit
2fb0455a32
|
@ -2,8 +2,6 @@ const {
|
||||||
SlashCommandBuilder,
|
SlashCommandBuilder,
|
||||||
PermissionFlagsBits,
|
PermissionFlagsBits,
|
||||||
EmbedBuilder,
|
EmbedBuilder,
|
||||||
ActionRowBuilder,
|
|
||||||
ButtonBuilder,
|
|
||||||
} = require('discord.js');
|
} = require('discord.js');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
@ -24,38 +22,38 @@ module.exports = {
|
||||||
const embed = new EmbedBuilder()
|
const embed = new EmbedBuilder()
|
||||||
.setColor(0x3fb618)
|
.setColor(0x3fb618)
|
||||||
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
.setFooter({ text: `Called By: ${interaction.user.tag}` })
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setTitle('Useful Links!')
|
.setTitle('Useful Links!')
|
||||||
.setDescription(
|
.setDescription(
|
||||||
`Below are a some useful links to communities and resources.`
|
`Below are a some useful links to communities and resources.`
|
||||||
)
|
)
|
||||||
.setThumbnail('https://i.imgur.com/ww6wKwJ.png')
|
.setThumbnail('https://i.imgur.com/ww6wKwJ.png')
|
||||||
.addFields(
|
.addFields(
|
||||||
{
|
{
|
||||||
name: 'Free Stuff',
|
name: 'Free Stuff',
|
||||||
value: `- GitHub Student Developer Pack: https://education.github.com/pack\r\n
|
value: `- GitHub Student Developer Pack: https://education.github.com/pack\r\n
|
||||||
- Microsoft Azure Dev Tools for Teaching: https://azure.microsoft.com/en-gb/free/students/\r\n
|
- Microsoft Azure Dev Tools for Teaching: https://azure.microsoft.com/en-gb/free/students/\r\n
|
||||||
- JetBrains IDE Package: https://www.jetbrains.com/community/education/#students\r\n`
|
- JetBrains IDE Package: https://www.jetbrains.com/community/education/#students\r\n`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'University of Hull Specifics',
|
name: 'University of Hull Specifics',
|
||||||
value: `- Freeside Student Resource List: https://github.com/FreesideHull/StudentResources\r\n
|
value: `- Freeside Student Resource List: https://github.com/FreesideHull/StudentResources\r\n
|
||||||
- Hull University Buddy: https://chrome.google.com/webstore/detail/hull-university-buddy/jnppmhcoifoohipnnhdabhnolnilncbk\r\n`
|
- Hull University Buddy: https://chrome.google.com/webstore/detail/hull-university-buddy/jnppmhcoifoohipnnhdabhnolnilncbk\r\n`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: `Other Communities`,
|
name: `Other Communities`,
|
||||||
value: `- Freeside: https://freeside.co.uk/ \r\n
|
value: `- Freeside: https://freeside.co.uk/ \r\n
|
||||||
- Unofficial University of Hull Discord Server: https://discord.gg/rm7r5wbYq2 \r\n
|
- Unofficial University of Hull Discord Server: https://discord.gg/rm7r5wbYq2 \r\n
|
||||||
- The Programmers Hangout: https://discord.gg/programming`
|
- The Programmers Hangout: https://discord.gg/programming`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Want to add a resource?',
|
name: 'Want to add a resource?',
|
||||||
value: 'Message an <@&427866208726155274> with your suggestion for consideration!'
|
value:
|
||||||
|
'Message an <@&427866208726155274> with your suggestion for consideration!',
|
||||||
}
|
}
|
||||||
)
|
);
|
||||||
|
|
||||||
interaction.channel.send({ embeds: [embed] });
|
|
||||||
interaction.reply({ content: 'Embed sent.', ephemeral: true });
|
|
||||||
|
|
||||||
|
interaction.channel.send({ embeds: [embed] });
|
||||||
|
interaction.reply({ content: 'Embed sent.', ephemeral: true });
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue