#No channel.send()?
9 messages · Page 1 of 1 (latest)
what type of channel is ErrorLogChannel?
const ErrorLogChannel = await bot.channels.fetch('1453199589783109712') as Channel;
it's a text channel
Channel can be anything, its best to type it as a TextChannel. also, you don't need to fetch if you have the Guilds intent
Channel would be BaseChannel, which doesn't have .send because you can't send to a CategoryChannel
ah alright, well I now do as TextChannel and it doesn't error which im happy about
big thanks!!
np