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>

Source

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