summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authors1n <[email protected]>2020-04-01 21:42:51 -0700
committerGitHub <[email protected]>2020-04-01 21:42:51 -0700
commitaeb99ce3b9ca3485d3910d7657e7568a9d44cd3a (patch)
tree38f9554fc3fe12e8faeaa049988b90192b3c306d /app.js
parentadd help (diff)
downloads5nical-aeb99ce3b9ca3485d3910d7657e7568a9d44cd3a.tar.xz
s5nical-aeb99ce3b9ca3485d3910d7657e7568a9d44cd3a.zip
change help
Diffstat (limited to 'app.js')
-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;
})