aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/checks/guildUnavailable.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/checks/guildUnavailable.ts')
-rw-r--r--src/inhibitors/checks/guildUnavailable.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/inhibitors/checks/guildUnavailable.ts b/src/inhibitors/checks/guildUnavailable.ts
index a13944d..45ec0da 100644
--- a/src/inhibitors/checks/guildUnavailable.ts
+++ b/src/inhibitors/checks/guildUnavailable.ts
@@ -1,4 +1,5 @@
-import { BushInhibitor, type BushMessage, type BushSlashMessage } from '#lib';
+import { BushInhibitor, type SlashMessage } from '#lib';
+import { type Message } from 'discord.js';
export default class GuildUnavailableInhibitor extends BushInhibitor {
public constructor() {
@@ -10,7 +11,7 @@ export default class GuildUnavailableInhibitor extends BushInhibitor {
});
}
- public override async exec(message: BushMessage | BushSlashMessage): Promise<boolean> {
+ public override async exec(message: Message | SlashMessage): Promise<boolean> {
if (message.inGuild() && !message.guild.available) {
void client.console.verbose(
'guildUnavailable',