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

x/natico/examples/deps.ts>getDmChannel

A powerful and customizable framework for Discordeno
Latest
function getDmChannel
import { getDmChannel } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

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

Parameters

bot: Bot
userId: bigint