diff --git a/commands/links.js b/commands/links.js new file mode 100644 index 0000000..a872621 --- /dev/null +++ b/commands/links.js @@ -0,0 +1,15 @@ +module.exports = { + name: "links", + description: "A helpful list of links to all of Selmer's wonderful websites", + execute(message, args, Discord) { + const newEmbed = new Discord.MessageEmbed() + .setColor('#002eff') + .setTitle("Selmer's Links") + .addFields( + {name: 'HyperGrader', value: "https://rpi.logicamodernapproach.com/"}, + {name: 'Personal Website', value: "http://www.logicamodernapproach.com/rpi/intlogs22.bringsjord/#sec-3"} + ); + + message.channel.send({ embeds: [newEmbed] }); + } +} \ No newline at end of file diff --git a/commands/postProfile.js b/commands/postProfile.js index bbb1750..595878f 100644 --- a/commands/postProfile.js +++ b/commands/postProfile.js @@ -4,16 +4,15 @@ module.exports = { execute(message, args, Discord) { const newEmbed = new Discord.MessageEmbed() .setColor('#002eff') - .setTitle('Rules') + .setTitle('My professional resume') //.setURL('https://discordjs.guide/popular-topics/embeds.html#embed-preview') - .setDescription('My professional resume') + //.setDescription('My professional resume') + .setImage('https://github.com/ION606/selmerBot/blob/main/Sleemer_Bringsjorgend.png?raw=true') .addFields( - {name: 'My Epithets:', value: "My Epithets:"}, + {name: 'My Epithets:', value: "Pearls of Wisdom"}, {name: '\t1. ', value: "Negative money is the best money"}, {name: '\t2. ', value: "Ukrane"} - ) - - .setImage('Sleemer_Bringsjorgend.png'); + ); message.channel.send({ embeds: [newEmbed] }); } diff --git a/main.js b/main.js index cd6b5a1..5e04da6 100644 --- a/main.js +++ b/main.js @@ -59,6 +59,9 @@ client.on('messageCreate', (message) => { case 'profile': client.commands.get('profile').execute(message, args, Discord); break; + case 'links': client.commands.get('links').execute(message, args, Discord); + break; + default: message.channel.send("'" + message.content + "' is not a command!"); } })