Archived
added additional types processing
This commit is contained in:
1 parent
d913985eec
commit
a8fd1c2ce7
2 files changed
+8
-3
No files matched your search
@@ -158,6 +158,10 @@ export class CommandManager {
|
||||
throw new MissingParameterError(p);
|
||||
}
|
||||
switch (p.type) {
|
||||
case "mentionable":
|
||||
case "channel":
|
||||
case "role":
|
||||
case "user":
|
||||
case "string":
|
||||
parameters.push(
|
||||
new StringParameter(p, paramsList[i])
|
||||
@@ -208,6 +212,10 @@ export class CommandManager {
|
||||
return;
|
||||
}
|
||||
switch (p.type) {
|
||||
case "mentionable":
|
||||
case "channel":
|
||||
case "role":
|
||||
case "user":
|
||||
case "string":
|
||||
parameters.push(
|
||||
new StringParameter(p, inputParam?.value)
|
||||
|
||||
Reference in new issue
Block a user