mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 17:47:27 +00:00
Merge pull request #126 from MSFTserver/patch-3
add command descriptions for !help
This commit is contained in:
commit
70e47d14ff
1 changed files with 5 additions and 5 deletions
|
@ -9,8 +9,8 @@ exports.commands = [
|
|||
];
|
||||
|
||||
exports.addrole = {
|
||||
usage: "<role to add>",
|
||||
description: "description of command",
|
||||
usage: "<role>",
|
||||
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));
|
||||
|
@ -60,8 +60,8 @@ exports.addrole = {
|
|||
}
|
||||
};
|
||||
exports.delrole = {
|
||||
usage: "<role to remove>",
|
||||
description: "description of command",
|
||||
usage: "<role>",
|
||||
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({
|
||||
|
|
Loading…
Add table
Reference in a new issue