-
-
Save cborac/1c6d31751552a827726ad93a5439d287 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
message.react("✅").then(r => { | |
if (args[1] && cmds.has(args[1])) return cmds.get(args[1])(message) | |
message.author.send( | |
new MessageEmbed() | |
.setColor("Help has arrived!") | |
.setDescription(`Don't worry I am here to help. Choose a topic from below and type .help \`topic\` in somewhere`) | |
.addField(`Available Commands`, "`" + cmds.keyArray().join("`") + "`") | |
.setColor("GREEN")).catch(err => { | |
r.remove() | |
console.error(err) | |
failedDM(message) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment