From fc390ffc300334c396d9d06b0feaf8fbc6ed2814 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 26 Dec 2021 17:16:32 -0500 Subject: documentation, bug fixes etc --- src/listeners/message/autoThread.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/listeners/message') diff --git a/src/listeners/message/autoThread.ts b/src/listeners/message/autoThread.ts index c326cec..6ee19ed 100644 --- a/src/listeners/message/autoThread.ts +++ b/src/listeners/message/autoThread.ts @@ -1,6 +1,5 @@ import { BushListener, type BushClientEvents, type BushTextChannel } from '#lib'; -import { type GuildTextBasedChannels } from 'discord-akairo'; -import { MessageEmbed } from 'discord.js'; +import { GuildTextBasedChannel, MessageEmbed } from 'discord.js'; export default class autoThreadListener extends BushListener { public constructor() { @@ -56,9 +55,9 @@ export default class autoThreadListener extends BushListener { .then(() => client.console.info( 'supportThread', - `opened a support thread for <<${message.author.tag}>> in <<${ - (message.channel as GuildTextBasedChannels).name - }>> in <<${message.guild!.name}>>.` + `opened a support thread for <<${message.author.tag}>> in <<${(message.channel as GuildTextBasedChannel).name}>> in <<${ + message.guild!.name + }>>.` ) ); } -- cgit