We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb961f5 commit a6b9f1bCopy full SHA for a6b9f1b
packages/discord.js/src/structures/Message.js
@@ -728,6 +728,7 @@ class Message extends Base {
728
channel?.type === ChannelType.GuildAnnouncement &&
729
!this.flags.has(MessageFlags.Crossposted) &&
730
this.type === MessageType.Default &&
731
+ !this.poll &&
732
channel.viewable &&
733
channel.permissionsFor(this.client.user)?.has(bitfield, false),
734
);
0 commit comments