mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26:54 +00:00
Image upload
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 862 KiB |
@@ -1 +0,0 @@
|
||||
hello world
|
||||
@@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
name: "profile",
|
||||
description: "Posts a description of Monsieur Sleemer himself",
|
||||
execute(message, args, Discord) {
|
||||
const newEmbed = new Discord.MessageEmbed()
|
||||
.setColor('#002eff')
|
||||
.setTitle('Rules')
|
||||
//.setURL('https://discordjs.guide/popular-topics/embeds.html#embed-preview')
|
||||
.setDescription('My professional resume')
|
||||
.addFields(
|
||||
{name: 'My Epithets:', value: "My Epithets:"},
|
||||
{name: '\t1. ', value: "Negative money is the best money"},
|
||||
{name: '\t2. ', value: "Ukrane"}
|
||||
)
|
||||
|
||||
.setImage('Sleemer_Bringsjorgend.png');
|
||||
|
||||
message.channel.send({ embeds: [newEmbed] });
|
||||
}
|
||||
}
|
||||
@@ -56,6 +56,9 @@ client.on('messageCreate', (message) => {
|
||||
case 'test': client.commands.get('Hello World').execute(message, args);
|
||||
break;
|
||||
|
||||
case 'profile': client.commands.get('profile').execute(message, args, Discord);
|
||||
break;
|
||||
|
||||
default: message.channel.send("'" + message.content + "' is not a command!");
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user