aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/superUser.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/superUser.ts')
-rw-r--r--src/inhibitors/command/superUser.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inhibitors/command/superUser.ts b/src/inhibitors/command/superUser.ts
index 69e95a2..a923c1a 100644
--- a/src/inhibitors/command/superUser.ts
+++ b/src/inhibitors/command/superUser.ts
@@ -1,16 +1,15 @@
-import { BushInhibitor, type BushCommand, type CommandMessage, type SlashMessage } from '#lib';
+import { BotInhibitor, type BotCommand, type CommandMessage, type SlashMessage } from '#lib';
-export default class SuperUserInhibitor extends BushInhibitor {
+export default class SuperUserInhibitor extends BotInhibitor {
public constructor() {
super('superUser', {
reason: 'superUser',
- category: 'command',
type: 'post',
priority: 99
});
}
- public async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
+ public async exec(message: CommandMessage | SlashMessage, command: BotCommand): Promise<boolean> {
if (command.superUserOnly) {
if (!this.client.isSuperUser(message.author)) {
void this.client.console.verbose(