Interface: MessageResolverOptions
Options to resolve a message from a string, given a certain context.
Properties
channel?
optionalchannel:DMChannel|PartialDMChannel|NewsChannel|StageChannel|TextChannel|PrivateThreadChannel|PublicThreadChannel<boolean> |VoiceChannel
Channel to resolve the message in.
Default
message.channel
Source
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).
Source
projects/framework/src/lib/resolvers/message.ts:31
scan?
optionalscan:boolean
Whether to scan the entire guild cache for the message. If channel is given with this option, this option is ignored.
Default
false