aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/command/nsfw.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/command/nsfw.ts')
-rw-r--r--src/inhibitors/command/nsfw.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inhibitors/command/nsfw.ts b/src/inhibitors/command/nsfw.ts
index fb4e51f..6eb2878 100644
--- a/src/inhibitors/command/nsfw.ts
+++ b/src/inhibitors/command/nsfw.ts
@@ -1,4 +1,4 @@
-import { BushInhibitor, type BushCommand, type BushMessage, type BushSlashMessage } from '#lib';
+import { BushInhibitor, type BushCommand, type CommandMessage, type SlashMessage } from '#lib';
import { type TextChannel } from 'discord.js';
export default class NsfwInhibitor extends BushInhibitor {
@@ -11,7 +11,7 @@ export default class NsfwInhibitor extends BushInhibitor {
});
}
- public override async exec(message: BushMessage | BushSlashMessage, command: BushCommand): Promise<boolean> {
+ public override async exec(message: CommandMessage | SlashMessage, command: BushCommand): Promise<boolean> {
if (command.onlyNsfw && !(message.channel as TextChannel).nsfw) {
void client.console.verbose(
'notNsfw',