#Yeah announcement channels are
1 messages · Page 1 of 1 (latest)
if (channel.type != 'GUILD_TEXT' || !channel.viewable)
return this.sendErrorMessage(
message,
0,
stripIndent`
Please mention an accessible text channel or provide a valid text channel ID
`
);```
Thats the snippet of the code
As I said, announcement channels are of type GUILD_NEWS
you need to check for GUILD_NEWS as Qjuh said ⬆️