From 7736e7a22294cf29bebf21011ecbe519a3c9e755 Mon Sep 17 00:00:00 2001 From: Dark <7890309+DarkView@users.noreply.github.com> Date: Wed, 29 Jul 2020 00:38:23 +0200 Subject: [PATCH] Fix follow -active not being a switch --- backend/src/plugins/LocateUser/commands/FollowCmd.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/plugins/LocateUser/commands/FollowCmd.ts b/backend/src/plugins/LocateUser/commands/FollowCmd.ts index 8b562aee..bcbd253d 100644 --- a/backend/src/plugins/LocateUser/commands/FollowCmd.ts +++ b/backend/src/plugins/LocateUser/commands/FollowCmd.ts @@ -16,7 +16,7 @@ export const FollowCmd = locateUserCommand({ reminder: ct.string({ required: false, catchAll: true }), duration: ct.delay({ option: true, shortcut: "d" }), - active: ct.bool({ option: true, shortcut: "a" }), + active: ct.bool({ option: true, shortcut: "a", isSwitch: true }), }, async run({ message: msg, args, pluginData }) {