Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/mod.ts>getDmChannel

Discord API library for Deno
Extremely Popular
Go to Latest
function getDmChannel
import { getDmChannel } from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/mod.ts";

Get a user's dm channel. This is required in order to send a DM.

Parameters

bot: Bot
userId: bigint