add command descriptions for !help

This commit is contained in:
MSFTserver 2017-12-22 23:11:31 -08:00 committed by GitHub
parent d2315dfb43
commit 97b730f3ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ exports.commands = [
exports.addrole = {
usage: "<role to add>",
description: "description of command",
description: "Adds you to specified role",
process: function(bot, msg, suffix) {
// Here the bot,msg and suffix is avaible, this function can be async if needed.
//amsg.reply(rolelist.allowedroles.includes(suffix));
@ -61,7 +61,7 @@ exports.addrole = {
};
exports.delrole = {
usage: "<role to remove>",
description: "description of command",
description: "Deletes your role specified",
process: function(bot, msg, suffix) {
// Here the bot,msg and suffix is avaible, this function can be async if needed.
let oldrole = msg.guild.roles.find("name", suffix);
@ -104,7 +104,7 @@ exports.delrole = {
};
exports.roles = {
usage: "",
description: "description of command",
description: "displays roles you can give yourself",
process: function(bot, msg, suffix) {
// Here the bot,msg and suffix is avaible, this function can be async if needed.
msg.channel.send({