mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
ModActions: allow 'e' as an alias for 'expand' in !cases
This commit is contained in:
parent
cb7904ef81
commit
dad7717688
1 changed files with 1 additions and 1 deletions
|
@ -1143,7 +1143,7 @@ export class ModActionsPlugin extends ZeppelinPlugin<IModActionsPluginConfig, IM
|
|||
const showHidden = args.opts && args.opts.match(/\bhidden\b/);
|
||||
const casesToDisplay = showHidden ? cases : normalCases;
|
||||
|
||||
if (args.opts && args.opts.match(/\bexpand\b/)) {
|
||||
if (args.opts && args.opts.match(/\b(expand|e)\b/)) {
|
||||
if (casesToDisplay.length > 8) {
|
||||
msg.channel.createMessage("Too many cases for expanded view. Please use compact view instead.");
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue