Archived
Created UserCommand context menu
This commit is contained in:
1 parent
4750fcc7bd
commit
d3ef3f4b08
1 file changed
+15
@@ -0,0 +1,15 @@
|
|||||||
|
import { BaseCommandInit } from "../types/BaseCommand.js";
|
||||||
|
import { BaseCommand } from "./BaseCommand.js";
|
||||||
|
|
||||||
|
export class UserCommand extends BaseCommand {
|
||||||
|
constructor(o: BaseCommandInit) {
|
||||||
|
super("USER", {
|
||||||
|
name: o.name,
|
||||||
|
announceSuccess: o.announceSuccess,
|
||||||
|
function: o.function,
|
||||||
|
guilds: o.guilds,
|
||||||
|
permissionCheck: o.permissionCheck,
|
||||||
|
permissions: o.permissions,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user