You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invite a bot on a server and hide a text channel to it.
You should try to make the bot post on this channel. With the current behavior, it should crash, even if the call is protected by a try/catch block.
send is an async method, and you're not handling promise rejection. You need either to use the .catch() method on the returned Promise, or use an await expression.
send is an async method, and you're not handling promise rejection. You need either to use the .catch() method on the returned Promise, or use an await expression.
Oh, thank you!
It will probably solve my issue.
I'll give it a look today. Sorry, some cognitive overload... lulz.
Which package is this bug report for?
discord.js
Issue description
Invite a bot on a server and hide a text channel to it.
You should try to make the bot post on this channel. With the current behavior, it should crash, even if the call is protected by a try/catch block.
Code sample
Versions
Issue priority
Low (slightly annoying)
Which partials do you have configured?
User, Channel, GuildMember, Message, Reaction, GuildScheduledEvent, ThreadMember
Which gateway intents are you subscribing to?
3276799
(sorry, haven't more than this)I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: