aboutsummaryrefslogtreecommitdiff
path: root/src/listeners/message
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-26 17:16:32 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-12-26 17:16:32 -0500
commitfc390ffc300334c396d9d06b0feaf8fbc6ed2814 (patch)
treea6282a74cf99033291ac7bc9de123ae273d528d2 /src/listeners/message
parent062435590980b87f5b054418ed88604e26358ae9 (diff)
downloadtanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.gz
tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.tar.bz2
tanzanite-fc390ffc300334c396d9d06b0feaf8fbc6ed2814.zip
documentation, bug fixes etc
Diffstat (limited to 'src/listeners/message')
-rw-r--r--src/listeners/message/autoThread.ts9
1 files changed, 4 insertions, 5 deletions
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
+ }>>.`
)
);
}