Closed dubfib closed 2 years ago
I tried on dev version but broke all my code including MessageEmbed, Intents
And the error is...? Also 13.6.0 is not a development release
And the error is...? Also 13.6.0 is not a development release
I tried dev on 14.0.0-dev.1643544396.388f535 and a lot of errors came with it
That's because of the breaking changes included in v14. I was asking for the error you got when using that code above
That's because of the breaking changes included in v14. I was asking for the error you got when using that code above
I get zero errors though.
Then why did you submit a bug report? If that code isn't being executed that's clearly not a problem with discord.js
All the code is being executed including my command handler that works
If you can't send an error and the message isn't being sent then the code isn't reaching that point. Please close this issue and use the Discord server for any questions you might have while using the library.
If you want to know why the code isn't reaching that point, it's because of these lines, as no message in Minecraft starts with those strings since you need to include color codes
Its supposed to filter only guild chat messages. I also went to the discord and they said they don't know what to do.
Which package is this bug report for?
discord.js
Issue description
const channel = client.channels.cache.get("937447927671058443") as TextChannel;
channel.send({ embeds: [ embed ]});
Code sample
Package version
13.6.0
Node.js version
Node: 16.13.2 Typescript: 4.5.5
Operating system
2022-1 Windows 11
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
Guilds, GuildMessages, GuildMessageReactions
I have tested this issue on a development release
13.6.0