Interface: MessageResolverOptions
Options to resolve a message from a string, given a certain context.
Properties
channel
• Optional
channel: DMChannel
| PartialDMChannel
| NewsChannel
| StageChannel
| TextChannel
| PrivateThreadChannel
| PublicThreadChannel
<boolean
> | VoiceChannel
Channel to resolve the message in.
Default
message.channel
Defined in
projects/framework/src/lib/resolvers/message.ts:27
messageOrInteraction
• messageOrInteraction: Message
<boolean
> | AnyInteraction
Base Message or AnyInteraction to resolve the message from (e.g. pick the channel if not given).
Defined in
projects/framework/src/lib/resolvers/message.ts:31
scan
• Optional
scan: boolean
Whether to scan the entire guild cache for the message. If channel is given with this option, this option is ignored.
Default
false