diff options
| author | s1n <[email protected]> | 2020-04-01 21:42:51 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-01 21:42:51 -0700 |
| commit | aeb99ce3b9ca3485d3910d7657e7568a9d44cd3a (patch) | |
| tree | 38f9554fc3fe12e8faeaa049988b90192b3c306d /app.js | |
| parent | add help (diff) | |
| download | s5nical-aeb99ce3b9ca3485d3910d7657e7568a9d44cd3a.tar.xz s5nical-aeb99ce3b9ca3485d3910d7657e7568a9d44cd3a.zip | |
change help
Diffstat (limited to 'app.js')
| -rw-r--r-- | app.js | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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;
})
|