aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moderation/hideCase.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moderation/hideCase.ts')
-rw-r--r--src/commands/moderation/hideCase.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/moderation/hideCase.ts b/src/commands/moderation/hideCase.ts
index 8cec66e..fc5baf4 100644
--- a/src/commands/moderation/hideCase.ts
+++ b/src/commands/moderation/hideCase.ts
@@ -1,4 +1,4 @@
-import { BushCommand, ModLog, type BushMessage, type BushSlashMessage } from '#lib';
+import { BushCommand, ModLog, type CommandMessage, type SlashMessage } from '#lib';
import assert from 'assert';
import { ApplicationCommandOptionType, PermissionFlagsBits } from 'discord.js';
@@ -27,7 +27,7 @@ export default class HideCaseCommand extends BushCommand {
});
}
- public override async exec(message: BushMessage | BushSlashMessage, { case_id: caseID }: { case_id: string }) {
+ public override async exec(message: CommandMessage | SlashMessage, { case_id: caseID }: { case_id: string }) {
assert(message.inGuild());
const entry = await ModLog.findByPk(caseID);