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

x/discordeno/helpers/guilds/mod.ts

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

Functions

Connects the bot user to a voice or stage channel.

Creates an automod rule in a guild.

Creates a guild.

Creates an invite to a channel in a guild.

Creates a scheduled event in a guild.

Deletes an automod rule.

Deletes a guild.

Deletes an integration attached to a guild.

Deletes an invite to a channel.

Deletes a scheduled event from a guild.

Edits an automod rule.

Edits a guild's settings.

Modify a guild's MFA level. Requires guild ownership.

Edits the voice state of the bot user.

Edits a scheduled event.

Edits the voice state of another user.

Edits a guild's welcome screen.

Edits the settings of a guild's widget.

Gets a guild's audit log.

Gets an automod rule by its ID.

Gets the list of automod rules for a guild.

Gets the list of available voice regions.

Gets a ban by user ID.

Gets the list of bans for a guild.

Gets a guild by its ID.

Builds a URL to the guild banner stored in the Discord CDN.

Builds a URL to the guild icon stored in the Discord CDN.

Gets the preview of a guild by a guild's ID.

Builds the URL to a guild splash stored in the Discord CDN.

Gets the list of integrations attached to a guild.

Gets an invite to a channel by its invite code.

Gets the list of invites for a guild.

Gets the number of members that would be kicked from a guild during pruning.

Gets a scheduled event by its ID.

Gets the list of scheduled events for a guild.

Gets the list of subscribers to a scheduled event from a guild.

Gets information about the vanity url of a guild.

Gets the list of voice regions for a guild.

Gets the welcome screen for a guild.

Gets the guild widget by guild ID.

Builds a URL to the guild widget image stored in the Discord CDN.

Gets the settings of a guild's widget.

Leaves a guild.

Leaves the voice channel the bot user is currently in.

Interfaces