Add /raw command
This commit is contained in:
parent
d51b5a35fd
commit
b50a4a1068
6 changed files with 46 additions and 11 deletions
|
@ -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 }
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue