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.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inhibitors/command/superUser.ts b/src/inhibitors/command/superUser.ts
index a923c1a..dd71539 100644
--- a/src/inhibitors/command/superUser.ts
+++ b/src/inhibitors/command/superUser.ts
@@ -1,10 +1,10 @@
-import { BotInhibitor, type BotCommand, type CommandMessage, type SlashMessage } from '#lib';
+import { BotInhibitor, InhibitorReason, InhibitorType, type BotCommand, type CommandMessage, type SlashMessage } from '#lib';
export default class SuperUserInhibitor extends BotInhibitor {
public constructor() {
- super('superUser', {
- reason: 'superUser',
- type: 'post',
+ super(InhibitorReason.SuperUser, {
+ reason: InhibitorReason.SuperUser,
+ type: InhibitorType.Post,
priority: 99
});
}