Updated types for channels

This commit is contained in:
2024-01-06 23:28:37 +01:00
parent 2b92750778
commit d06e15c96c
15 changed files with 43 additions and 147 deletions

View File

@@ -2,7 +2,7 @@ import {
ActionRowBuilder,
ButtonStyle,
ButtonBuilder,
GuildTextBasedChannel,
TextChannel,
} from "discord.js"
import {
color,
@@ -91,7 +91,7 @@ export = {
// update waiting list
const channel = guild.channels.cache.get(
waitingListChannel,
) as GuildTextBasedChannel
) as TextChannel
const wlmessage = await channel!.messages.fetch(waitingListMessage)
const wlembed = wlmessage.embeds[0]