Function: resolveDMChannel()
resolveDMChannel(
parameter
:string
,messageOrInteraction
:Message
<boolean
> |CommandInteraction
<CacheType
>):Result
<DMChannel
,Identifiers.ArgumentChannelError
|Identifiers.ArgumentDMChannelError
>
Parameters
Parameter | Type |
---|---|
parameter | string |
messageOrInteraction | Message <boolean > | CommandInteraction <CacheType > |
Returns
Result
<DMChannel
, Identifiers.ArgumentChannelError
| Identifiers.ArgumentDMChannelError
>