Archived
ObjectParameter
This commit is contained in:
1 parent
a8fd1c2ce7
commit
6144f3e577
3 files changed
+45
-1
No files matched your search
@@ -4,6 +4,7 @@ import {
|
||||
BooleanParameter,
|
||||
InputParameter,
|
||||
NumberParameter,
|
||||
ObjectParameter,
|
||||
StringParameter,
|
||||
} from "./Parameter.js";
|
||||
import { Command } from "./Command.js";
|
||||
@@ -216,6 +217,10 @@ export class CommandManager {
|
||||
case "channel":
|
||||
case "role":
|
||||
case "user":
|
||||
parameters.push(
|
||||
new ObjectParameter(p, inputParam?.value)
|
||||
);
|
||||
break;
|
||||
case "string":
|
||||
parameters.push(
|
||||
new StringParameter(p, inputParam?.value)
|
||||
|
||||
Reference in new issue
Block a user