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