Created
April 14, 2024 19:26
-
-
Save LautyDev/16efc89882a8bd09acfa75095d7e9930 to your computer and use it in GitHub Desktop.
How to know if a message is a poll (Discord)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
message.activity === null && | |
message.cleanContent === '' && | |
message.roleSubscriptionData === null && | |
message.components.length === 0 && | |
message.system === false && | |
message.webhookId === null && | |
message.type === 0 && | |
message.attachments.size === 0 && | |
message.embeds.length === 0 && | |
message.applicationId === null && | |
message.resolved === null && | |
message.position === 0 && | |
message.stickers.size === 0 && | |
message.content === '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment