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

@@ -7,13 +7,13 @@ import {
import { getGuild, getIGN } from "../../utils/Hypixel"
import { Cron, GuildData } from "../../interfaces"
import Illegitimate from "../../utils/Illegitimate"
import { GuildTextBasedChannel } from "discord.js"
import { TextChannel } from "discord.js"
const client = Illegitimate.client
async function guildWeekly() {
const channel = client.channels.cache.get(
guildLogChannel,
) as GuildTextBasedChannel
) as TextChannel
if (!channel) {
console.log("Guild log channel not found")