Changed the file structure to make the command reading process clearer and improve organization

This commit is contained in:
ION606
2022-05-13 22:29:54 +03:00
parent 21040344ae
commit 2e6d41e76b
14 changed files with 13 additions and 38 deletions
+19
View File
@@ -0,0 +1,19 @@
module.exports = {
name: "profile",
description: "Posts a description of Monsieur Sleemer himself",
execute(message, args, Discord, Client, bot) {
const newEmbed = new Discord.MessageEmbed()
.setColor('#002eff')
.setTitle('My professional resume')
//.setURL('https://discordjs.guide/popular-topics/embeds.html#embed-preview')
//.setDescription('My professional resume')
.setImage('https://github.com/ION606/selmerBot/blob/main/Sleemer_Bringsjorgend.png?raw=true')
.addFields(
{name: 'My Epithets:', value: "Pearls of Wisdom"},
{name: '\t1. ', value: "Negative money is the best money"},
{name: '\t2. ', value: "There is no god, only logic"}
);
message.channel.send({ embeds: [newEmbed] });
}
}