Interface
MessageSearchOptions
CamelCase options for client.searchMessages. The helper always sends scope: 'current' (the only bot-legal scope).
Properties
| Name | Type | Description |
|---|---|---|
| authorIds? | string[] | |
| authorType? | Array<'user' | 'bot' | 'webhook'> | |
| channelIds? | string[] | |
| content? | string | |
| contents? | string[] | |
| contextChannelId? | string | |
| contextGuildId? | string | |
| cursor? | string[] | |
| exactPhrases? | string[] | |
| excludeAuthorIds? | string[] | |
| excludeAuthorType? | Array<'user' | 'bot' | 'webhook'> | |
| excludeChannelIds? | string[] | |
| excludeHas? | string[] | |
| excludeMentions? | string[] | |
| has? | string[] | |
| hitsPerPage? | number | |
| includeNsfw? | boolean | |
| maxId? | string | |
| mentionEveryone? | boolean | |
| mentions? | string[] | |
| minId? | string | |
| page? | number | |
| pinned? | boolean | |
| sortBy? | string | |
| sortOrder? | 'asc' | 'desc' |