From c38bb99e933c28ef9c55645457508ed64d5590bd Mon Sep 17 00:00:00 2001 From: Jonathan <54381371+yaboyaxis@users.noreply.github.com> Date: Sat, 12 Dec 2020 15:22:31 -0500 Subject: [PATCH] Add !modlogs as an alias to !cases (#128) Co-authored-by: Jonathan <54381371+chislxyz@users.noreply.github.com> --- backend/src/plugins/ModActions/commands/CasesModCmd.ts | 2 +- backend/src/plugins/ModActions/commands/CasesUserCmd.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/plugins/ModActions/commands/CasesModCmd.ts b/backend/src/plugins/ModActions/commands/CasesModCmd.ts index 81509109..b359c955 100644 --- a/backend/src/plugins/ModActions/commands/CasesModCmd.ts +++ b/backend/src/plugins/ModActions/commands/CasesModCmd.ts @@ -14,7 +14,7 @@ const opts = { }; export const CasesModCmd = modActionsCmd({ - trigger: "cases", + trigger: ["cases", "modlogs"], permission: "can_view", description: "Show the most recent 5 cases by the specified -mod", diff --git a/backend/src/plugins/ModActions/commands/CasesUserCmd.ts b/backend/src/plugins/ModActions/commands/CasesUserCmd.ts index 42a67593..d5c23b10 100644 --- a/backend/src/plugins/ModActions/commands/CasesUserCmd.ts +++ b/backend/src/plugins/ModActions/commands/CasesUserCmd.ts @@ -22,7 +22,7 @@ const opts = { }; export const CasesUserCmd = modActionsCmd({ - trigger: "cases", + trigger: ["cases", "modlogs"], permission: "can_view", description: "Show a list of cases the specified user has",