add markdown to tab complete list

This commit is contained in:
Matthew Hodgson 2016-02-14 13:45:52 +02:00
parent 5e5fdb9b96
commit 5e407b44b7

View file

@ -352,11 +352,12 @@ module.exports = {
}, },
getCommandList: function() { 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) { var cmds = Object.keys(commands).sort().map(function(cmdKey) {
return commands[cmdKey]; return commands[cmdKey];
}) })
cmds.push(new Command("me", "<action>", function(){})); cmds.push(new Command("me", "<action>", function(){}));
cmds.push(new Command("markdown", "<on|off>", function(){}));
return cmds; return cmds;
} }