From 43428f8a747f1b3e6b2a3418173910ce3ff1866c Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 16 Feb 2022 17:40:02 -0500 Subject: feat: start testing perspectiveApi, and fix checkScamMentions --- src/lib/extensions/discord-akairo/BushClient.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/extensions/discord-akairo') diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 904ab51..43ae139 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -41,6 +41,7 @@ import { type WebhookEditMessageOptions } from 'discord.js'; import EventEmitter from 'events'; +import { google } from 'googleapis'; import path from 'path'; import readline from 'readline'; import type { Options as SequelizeOptions, Sequelize as SequelizeType } from 'sequelize'; @@ -190,6 +191,11 @@ export class BushClient extends AkairoClient extends AkairoClient('https://commentanalyzer.googleapis.com/$discovery/rest?version=v1alpha1'); + this.commandHandler.useInhibitorHandler(this.inhibitorHandler); this.commandHandler.useListenerHandler(this.listenerHandler); this.commandHandler.useTaskHandler(this.taskHandler); -- cgit