3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +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 421920b2de
commit 4beb49d3e9

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: {