mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-17 07:05:03 +00:00
Simpler™️
This commit is contained in:
parent
37d59c8d96
commit
8b429d9977
1 changed files with 1 additions and 1 deletions
|
@ -1144,7 +1144,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/) || args.opts.match(/\be\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
Add a link
Reference in a new issue