diff options
Diffstat (limited to 'src/inhibitors/checks')
-rw-r--r-- | src/inhibitors/checks/fatal.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inhibitors/checks/fatal.ts b/src/inhibitors/checks/fatal.ts index 2521b2f..411357c 100644 --- a/src/inhibitors/checks/fatal.ts +++ b/src/inhibitors/checks/fatal.ts @@ -11,7 +11,7 @@ export default class FatalInhibitor extends BushInhibitor { } public override async exec(message: BushMessage | BushSlashMessage): Promise<boolean> { - if (client.isOwner(message.author)) return false; + if (message.author.isOwner()) return false; for (const property in client.cache.global) { if (!client.cache.global[property as keyof typeof client.cache.global]) { void client.console.verbose( |