aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/BushLogger.ts6
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(() => {});
}