3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

vcalert: use overloads instead of double optional parameter

Knub-command-manager doesn't support more than one optional parameter
at the moment.
This commit is contained in:
Dragory 2019-12-01 02:40:50 +02:00
parent 0687e67bc5
commit 698174a584

View file

@ -90,7 +90,8 @@ export class LocatePlugin extends ZeppelinPlugin<TConfigSchema> {
sendWhere(this.guild, member, msg.channel, `${msg.member.mention} |`);
}
@d.command("vcalert", "<member:resolvedMember> [duration:delay] [reminder:string$]", {
@d.command("vcalert", "<member:resolvedMember> <duration:delay> <reminder:string$>", {
overloads: ["<member:resolvedMember> <duration:delay>", "<member:resolvedMember>"],
aliases: ["vca"],
extra: {
info: {