import * as discordeno from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/channels/mod.ts";
Functions
Adds a user to a thread. Requires the ability to send messages in the thread. Requires the thread is not archived. | |
Create a channel in your server. Bot needs MANAGE_CHANNEL permissions in the server. | |
Creates a new public thread from an existing message. Returns a thread channel. | |
Creates a new Stage instance associated to a Stage channel. Requires the user to be a moderator of the Stage channel. | |
Delete a channel in your server. Bot needs MANAGE_CHANNEL permissions in the server. Bot needs MANAGE_THREADS permissions in the server if deleting thread. | |
Delete the channel permission overwrites for a user or role in this channel. Requires | |
Deletes the Stage instance. Requires the user to be a moderator of the Stage channel. | |
Update a channel's settings. Requires the | |
Edit the channel permission overwrites for a user or role in this channel. Requires | |
Follow a News Channel to send messages to a target channel. Requires the | |
Returns all active threads in the guild, including public and private threads. Threads are ordered by their | |
Get the archived threads for this channel, defaults to public | |
Fetches a single channel object from the api. | |
Returns a list of guild channel objects. | |
Gets the webhooks for this channel. Requires MANAGE_WEBHOOKS | |
Get pinned messages in this channel. | |
Gets the stage instance associated with the Stage channel, if it exists. | |
Returns thread members objects that are members of the thread. | |
Returns thread members objects that are members of the thread. | |
Adds the bot to the thread. Cannot join an archived thread. | |
Removes the bot from a thread. Requires the thread is not archived. | |
Removes a user from a thread. Requires the MANAGE_THREADS permission or that you are the creator of the thread. Also requires the thread is not archived. | |
Creates a new public thread from an existing message. Returns a thread channel. | |
Creates a new private thread. Returns a thread channel. | |
Trigger a typing indicator for the specified channel. Generally bots should NOT implement this route. However, if a bot is responding to a command and expects the computation to take a few seconds, this endpoint may be called to let the user know that the bot is processing their message. | |
Modify the positions of channels on the guild. Requires MANAGE_CHANNELS permission. Only channels to be modified are required. | |
Updates the bot's voice state Caveats:
| |
Updates fields of an existing Stage instance. Requires the user to be a moderator of the Stage channel. | |
Updates the a user's voice state Caveats:
|