From 221f996f455d44192d167a9d4bde2679a7bea3fa Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Fri, 22 May 2020 21:22:15 +0300 Subject: [PATCH] Aliases for hidecase/unhidecase --- backend/src/plugins/ModActions.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/ModActions.ts b/backend/src/plugins/ModActions.ts index 1a54a83a..e9e916d8 100644 --- a/backend/src/plugins/ModActions.ts +++ b/backend/src/plugins/ModActions.ts @@ -1749,7 +1749,8 @@ export class ModActionsPlugin extends ZeppelinPlugin { } } - @d.command("hidecase", "", { + @d.command("hide", "", { + aliases: ["hidecase", "hide_case"], extra: { info: { description: "Hide the specified case so it doesn't appear in !cases or !info", @@ -1771,7 +1772,8 @@ export class ModActionsPlugin extends ZeppelinPlugin { ); } - @d.command("unhidecase", "", { + @d.command("unhide", "", { + aliases: ["unhidecase", "unhide_case"], extra: { info: { description: "Un-hide the specified case, making it appear in !cases and !info again",