Fix follow -active not being a switch

This commit is contained in:
Dark 2020-07-29 00:38:23 +02:00
parent b8c75a922a
commit 7736e7a222

View file

@ -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 }) {