MessageSearchHasType
Index
Enumeration Members
Embed
Return messages that have an embed
File
Return messages that have an attachment
Image
Return messages that have an image
Link
Return messages that have a link
NotEmbed
Return messages that don't have an embed
NotFile
Return messages that don't have an attachment
NotImage
Return messages that don't have an image
NotLink
Return messages that don't have a link
NotPoll
Return messages that don't have a poll
NotSnapshot
Return messages that don't have a forwarded message
NotSound
Return messages that don't have a sound attachment
NotSticker
Return messages that don't have a sent sticker
NotVideo
Return messages that don't have a video
Poll
Return messages that have a poll
Snapshot
Return messages that have a forwarded message
Sound
Return messages that have a sound attachment
Sticker
Return messages that have a sent sticker
Video
Return messages that have a video
All types can be negated by prefixing them with
-, which means results will not include messages that match the type.https://docs.discord.com/developers/resources/message#search-guild-messages-search-has-types