Skip to main content

Function: resolveChannel()

resolveChannel(parameter: string, messageOrInteraction: Message<boolean> | CommandInteraction<CacheType>): Result<ChannelTypes, Identifiers.ArgumentChannelError>

Parameters

ParameterType
parameterstring
messageOrInteractionMessage<boolean> | CommandInteraction<CacheType>

Returns

Result<ChannelTypes, Identifiers.ArgumentChannelError>

Defined in

projects/framework/src/lib/resolvers/channel.ts:7