aboutsummaryrefslogtreecommitdiff
path: root/src/inhibitors/blacklist/guildBlacklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/inhibitors/blacklist/guildBlacklist.ts')
-rw-r--r--src/inhibitors/blacklist/guildBlacklist.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inhibitors/blacklist/guildBlacklist.ts b/src/inhibitors/blacklist/guildBlacklist.ts
index d540af7..087bdb7 100644
--- a/src/inhibitors/blacklist/guildBlacklist.ts
+++ b/src/inhibitors/blacklist/guildBlacklist.ts
@@ -1,4 +1,4 @@
-import { BushInhibitor, type BushMessage, type BushSlashMessage } from '#lib';
+import { BushInhibitor, type CommandMessage, type SlashMessage } from '#lib';
export default class GuildBlacklistInhibitor extends BushInhibitor {
public constructor() {
@@ -10,7 +10,7 @@ export default class GuildBlacklistInhibitor extends BushInhibitor {
});
}
- public override exec(message: BushMessage | BushSlashMessage): boolean {
+ public override exec(message: CommandMessage | SlashMessage): boolean {
if (!message.author || !message.inGuild()) return false;
// do not change to message.author.isOwner()
if (client.isOwner(message.author) || client.isSuperUser(message.author) || client.user!.id === message.author.id)