Add /me to the list

pull/21833/head
Kegan Dougal 2016-01-14 17:33:52 +00:00
parent 4430e16707
commit 66bc30c0bc
1 changed files with 6 additions and 2 deletions

View File

@ -354,8 +354,12 @@ module.exports = {
},
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];
});
})
cmds.push(new Command("me", "<action>", function(){}));
return cmds;
}
};