diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-28 18:54:18 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-06-28 18:54:18 -0400 |
commit | 6974a5859658b966954a59411a800223b7542df8 (patch) | |
tree | 9f1b4eae137d3253e1530bd30b78ab73b985c9ca /src/lib/utils | |
parent | b581073e0deb4f96510d72001513db64f3cc01ab (diff) | |
download | tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.gz tanzanite-6974a5859658b966954a59411a800223b7542df8.tar.bz2 tanzanite-6974a5859658b966954a59411a800223b7542df8.zip |
fix breaking changes and bump dependencies
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/BushLogger.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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<void> { + public async channelLog(message: BushSendMessageType): Promise<void> { 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<void> { + public async channelError(message: BushSendMessageType): Promise<void> { const channel = await this.client.util.getConfigChannel('error'); await channel.send(message).catch(() => {}); } |