Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#getUserDMs

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.getUserDMs
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Returns a list of DM channel objects. For bots, this is no longer a supported method of getting recent DMs, and will return an empty array.