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:
parent
0687e67bc5
commit
698174a584
1 changed files with 2 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Reference in a new issue