Skip to main content

Interface: MessageResolverOptions

Defined in: projects/framework/src/lib/resolvers/message.ts:22

Options to resolve a message from a string, given a certain context.

Properties

channel?

optional channel: DMChannel | PartialDMChannel | PartialGroupDMChannel | NewsChannel | StageChannel | TextChannel | PublicThreadChannel | PrivateThreadChannel | VoiceChannel

Defined in: projects/framework/src/lib/resolvers/message.ts:27

Channel to resolve the message in.

Default

message.channel

messageOrInteraction

messageOrInteraction: Message | AnyInteraction

Defined in: projects/framework/src/lib/resolvers/message.ts:31

Base Message or AnyInteraction to resolve the message from (e.g. pick the channel if not given).


scan?

optional scan: boolean

Defined in: projects/framework/src/lib/resolvers/message.ts:37

Whether to scan the entire guild cache for the message. If channel is given with this option, this option is ignored.

Default

false