Interface: MessageResolverOptions
Options to resolve a message from a string, given a certain context.
Properties
channel?
optional
channel:DMChannel
|PartialDMChannel
|PartialGroupDMChannel
|NewsChannel
|StageChannel
|TextChannel
|PublicThreadChannel
<boolean
> |PrivateThreadChannel
|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