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

x/discordeno/plugins/helpers/mod.ts

Discord API library for Deno
Extremely Popular
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@17.2.0/plugins/helpers/mod.ts";

Variables

Maps the <userId, channelId> for dm channels

Functions

Sets a thread channel to be archived.

Create a copy of a channel

Kicks a member from a voice channel

Update a thread's settings. Requires the MANAGE_CHANNELS permission for the guild.

Fetch members for an entire guild then return the entire guilds cached members.

Highly recommended to NOT use this function to get members instead use fetchMembers(). REST(this function): 50/s global(across all shards) rate limit with ALL requests this included GW(fetchMembers): 120/m(PER shard) rate limit. Meaning if you have 8 shards your limit is 960/m.

Sets a thread channel to be locked.

Move a member from a voice channel to another.

Sends a direct message to a user. This can take two API calls. The first call is to create a dm channel. Then sending the message to that channel. Channel ids are cached as needed to prevent duplicate requests.

sendInteractionResponse with ephemeral reply

Sends a text message.

Suppress all the embeds in this message

Sets a thread channel to be unarchived.

Sets a thread channel to be unlocked.