summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app.js12
1 files changed, 5 insertions, 7 deletions
diff --git a/app.js b/app.js
index 36f69c5..4e8d8f9 100644
--- a/app.js
+++ b/app.js
@@ -149,16 +149,14 @@ bot.on('message', msg => {
// Help
if (command == 'help') {
- msg.channel.send('Please Wait...').then(m => {
- m.edit(`** **`);
+
- let emb = new Discord.RichEmbed()
+ let emb = new Discord.RichEmbed()
- .setDescription(`The available commands are: ping, 8ball/ ball, say, server and help.`)
- .setColor(0xffd296);
+ .setDescription(`The available commands are: ping, 8ball/ ball, say, server and help.`)
+ .setColor(0xffd296);
- msg.channel.send(RichEmbed = emb);
- });
+ msg.channel.send(RichEmbed = emb);
}
} else if (msg.channel.name !== 'bots' && msg.content.startsWith(`${config.prefixes.main}`) && !msg.member.hasPermission('KICK_MEMBERS')) return;
})