Add /raw command

This commit is contained in:
Ken-Håvard Lieng 2016-01-27 20:48:47 +01:00
parent d51b5a35fd
commit b50a4a1068
6 changed files with 46 additions and 11 deletions

View file

@ -75,3 +75,15 @@ export function runCommand(command, channel, server) {
server
};
}
export function raw(message, server) {
return {
type: actions.RAW,
message,
server,
socket: {
type: 'raw',
data: { message, server }
}
};
}