From 6974a5859658b966954a59411a800223b7542df8 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 28 Jun 2021 18:54:18 -0400 Subject: fix breaking changes and bump dependencies --- src/lib/utils/BushLogger.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/utils') diff --git a/src/lib/utils/BushLogger.ts b/src/lib/utils/BushLogger.ts index 6adacfd..f14a05b 100644 --- a/src/lib/utils/BushLogger.ts +++ b/src/lib/utils/BushLogger.ts @@ -3,7 +3,7 @@ import chalk from 'chalk'; import { MessageEmbed } from 'discord.js'; import { inspect } from 'util'; -import { BushClient, BushMessageType } from '../extensions/BushClient'; +import { BushClient, BushSendMessageType } from '../extensions/BushClient'; export class BushLogger { private client: BushClient; @@ -68,13 +68,13 @@ export class BushLogger { } /** Sends a message to the log channel */ - public async channelLog(message: BushMessageType): Promise { + public async channelLog(message: BushSendMessageType): Promise { const channel = await this.client.util.getConfigChannel('log'); await channel.send(message).catch(() => {}); } /** Sends a message to the error channel */ - public async channelError(message: BushMessageType): Promise { + public async channelError(message: BushSendMessageType): Promise { const channel = await this.client.util.getConfigChannel('error'); await channel.send(message).catch(() => {}); } -- cgit