Add /me to the list
This commit is contained in:
parent
4430e16707
commit
66bc30c0bc
1 changed files with 6 additions and 2 deletions
|
@ -354,8 +354,12 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
getCommandList: function() {
|
getCommandList: function() {
|
||||||
return Object.keys(commands).sort().map(function(cmdKey) {
|
// Return all the commands plus /me which isn't handled like normal commands
|
||||||
|
var cmds = Object.keys(commands).sort().map(function(cmdKey) {
|
||||||
return commands[cmdKey];
|
return commands[cmdKey];
|
||||||
});
|
})
|
||||||
|
cmds.push(new Command("me", "<action>", function(){}));
|
||||||
|
|
||||||
|
return cmds;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue