Fix /help output
This commit is contained in:
parent
0daf3244cb
commit
0413960b85
2 changed files with 20 additions and 21 deletions
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,3 @@
|
||||||
import _escape from 'lodash/escape';
|
|
||||||
import createCommandMiddleware from './middleware/command';
|
import createCommandMiddleware from './middleware/command';
|
||||||
import { COMMAND } from './actions';
|
import { COMMAND } from './actions';
|
||||||
import { setNick, disconnect, whois, away } from './actions/server';
|
import { setNick, disconnect, whois, away } from './actions/server';
|
||||||
|
@ -20,7 +19,7 @@ const help = [
|
||||||
'/whois <user> - Get information about user',
|
'/whois <user> - Get information about user',
|
||||||
'/away [message] - Set or clear away message',
|
'/away [message] - Set or clear away message',
|
||||||
'/raw [message] - Send raw IRC message to the current server'
|
'/raw [message] - Send raw IRC message to the current server'
|
||||||
].map(_escape);
|
];
|
||||||
|
|
||||||
export default createCommandMiddleware(COMMAND, {
|
export default createCommandMiddleware(COMMAND, {
|
||||||
join({ dispatch, server }, channel) {
|
join({ dispatch, server }, channel) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue