Skip to main content

Function: resolveDMChannel()

resolveDMChannel(parameter: string, messageOrInteraction: Message | CommandInteraction): Result<DMChannel, ArgumentChannelError | ArgumentDMChannelError>

Defined in: projects/framework/src/lib/resolvers/dmChannel.ts:7

Parameters

ParameterType
parameterstring
messageOrInteractionMessage | CommandInteraction

Returns

Result<DMChannel, ArgumentChannelError | ArgumentDMChannelError>