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

x/oasis/tests/deps.ts>getDmChannel

An object oriented Discordeno framework
Latest
function getDmChannel
import { getDmChannel } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

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

Parameters

bot: Bot
userId: bigint