aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/guild.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/guild.ts')
-rw-r--r--src/inhibitors/command/guild.ts7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inhibitors/command/guild.ts b/src/inhibitors/command/guild.ts
index ea52d99..1d70c7d 100644
--- a/src/inhibitors/command/guild.ts
+++ b/src/inhibitors/command/guild.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 GuildInhibitor extends BushInhibitor {
+export default class GuildInhibitor extends BotInhibitor {
public constructor() {
super('guild', {
reason: 'guild',
- category: 'command',
type: 'post',
priority: 80
});
}
- public async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
+ public async exec(message: CommandMessage | SlashMessage, command: BotCommand): Promise<boolean> {
if (command.channel === 'guild' && !message.guild) {
void this.client.console.verbose(
'guild',