Fix follow -active not being a switch
This commit is contained in:
parent
b8c75a922a
commit
7736e7a222
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export const FollowCmd = locateUserCommand({
|
||||||
reminder: ct.string({ required: false, catchAll: true }),
|
reminder: ct.string({ required: false, catchAll: true }),
|
||||||
|
|
||||||
duration: ct.delay({ option: true, shortcut: "d" }),
|
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 }) {
|
async run({ message: msg, args, pluginData }) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue