diff options
Diffstat (limited to 'src/inhibitors/blacklist/userGlobalBlacklist.ts')
-rw-r--r-- | src/inhibitors/blacklist/userGlobalBlacklist.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inhibitors/blacklist/userGlobalBlacklist.ts b/src/inhibitors/blacklist/userGlobalBlacklist.ts index ad906f8..d0f9a9f 100644 --- a/src/inhibitors/blacklist/userGlobalBlacklist.ts +++ b/src/inhibitors/blacklist/userGlobalBlacklist.ts @@ -12,7 +12,7 @@ export default class UserGlobalBlacklistInhibitor extends BushInhibitor { public override exec(message: BushMessage | BushSlashMessage): boolean { if (!message.author) return false; - if (client.isOwner(message.author) || client.user!.id === message.author.id) return false; + if (message.author.isOwner() || client.user!.id === message.author.id) return false; if (client.cache.global.blacklistedUsers.includes(message.author.id)) { void client.console.verbose( 'userGlobalBlacklist', |