Function: resolveChannel()
resolveChannel(
parameter
:string
,messageOrInteraction
:Message
|CommandInteraction
):Result
<ChannelTypes
,ArgumentChannelError
>
Defined in: projects/framework/src/lib/resolvers/channel.ts:7
Parameters
Parameter | Type |
---|---|
parameter | string |
messageOrInteraction | Message | CommandInteraction |
Returns
Result
<ChannelTypes
, ArgumentChannelError
>