forgot about '/me' lol

This commit is contained in:
Evert Prants 2016-09-30 18:55:12 +03:00
parent 8074efb8a2
commit d35c203974

View File

@ -464,7 +464,7 @@ let commands = {
action: {execute: function(buffer, handler, command, message, listargs) { action: {execute: function(buffer, handler, command, message, listargs) {
irc.socket.emit("userinput", {command: "privmsg", server: buffer.server, message: "\x01ACTION "+message.substring(command.length+2)+"\x01", arguments: [buffer.name]}); irc.socket.emit("userinput", {command: "privmsg", server: buffer.server, message: "\x01ACTION "+message.substring(command.length+2)+"\x01", arguments: [buffer.name]});
}, description: "<message> - 'act' as yourself"}, }, description: "<message> - 'act' as yourself", aliases: ['me']},
list: {execute: function(buffer, handler, command, message, listargs) { list: {execute: function(buffer, handler, command, message, listargs) {
irc.socket.emit("userinput", {command: "list", server: buffer.server, message: "", arguments: listargs.splice(1)}); irc.socket.emit("userinput", {command: "list", server: buffer.server, message: "", arguments: listargs.splice(1)});