From f723f61af34c20f9b4c1a99057379f04af413ef5 Mon Sep 17 00:00:00 2001 From: Lea Date: Sun, 19 Mar 2023 20:38:42 +0000 Subject: [PATCH] add "detention" alias for probation --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ff6c9ae..7d71cf9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -243,7 +243,8 @@ client.on('message', async (message) => { } case 'unapprove': - case 'probation': { + case 'probation': + case 'detention': { const users = await extractUsers(message, args); if (!users?.length) return console.log('No users received');