Skip to content

Commit

Permalink
Import MessageEmbed (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
g1stavo authored Oct 29, 2020
1 parent 60950f6 commit e2a4d30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const {
Client: DiscordClient,
Intents
Intents,
MessageEmbed
} = require('discord.js');
const Client = new DiscordClient({ ws: { intents: Intents.GUILD_MESSAGES } });
const {
Expand Down Expand Up @@ -124,7 +125,7 @@ const getDoc = (commands) => {
O unico comando disponivel é \`${prefix} [option]\`, exemplo: \`${prefix} mery\`.
**Comandos**:`;

const HEmbed = new Discord.MessageEmbed()
const HEmbed = new MessageEmbed()
.setTitle(`Seguintes comandos disponíveis 📋:`)
.setColor('#4a3722')
.setDescription(description);
Expand Down

0 comments on commit e2a4d30

Please sign in to comment.