add markdown to tab complete list

pull/21833/head
Matthew Hodgson 2016-02-14 13:45:52 +02:00
parent 5e5fdb9b96
commit 5e407b44b7
1 changed files with 2 additions and 1 deletions

View File

@ -352,11 +352,12 @@ module.exports = {
},
getCommandList: function() {
// Return all the commands plus /me which isn't handled like normal commands
// Return all the commands plus /me and /markdown which aren't handled like normal commands
var cmds = Object.keys(commands).sort().map(function(cmdKey) {
return commands[cmdKey];
})
cmds.push(new Command("me", "<action>", function(){}));
cmds.push(new Command("markdown", "<on|off>", function(){}));
return cmds;
}