From 5ebbf635f6eda6904e107f1b5723fb689376fe71 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:20:53 +0000 Subject: [PATCH] docs: update refs for https://github.com/DiscordLuau/discord-luau/commit/359282c51bc59e4499ce8e3957533671755835f3 --- discord-luau | 2 +- .../docs/classes/Builders/ChannelBuilder.mdx | 145 ++++++++++++++++++ .../classes/Builders/DiscordPermission.mdx | 36 +++++ src/content/docs/classes/DiscordLuau.mdx | 3 + .../classes/Objects/BaseDiscordChannel.mdx | 39 +++++ .../Objects/BaseDiscordGuildChannel.mdx | 77 ++++++++++ .../classes/Objects/BaseGuildTextChannel.mdx | 61 ++++++++ .../docs/classes/Objects/BaseGuildThread.mdx | 61 ++++++++ .../classes/Objects/BaseGuildVoiceChannel.mdx | 45 ++++++ .../docs/classes/Objects/BaseUserChannel.mdx | 61 ++++++++ .../Objects/DiscordAnnouncementChannel.mdx | 50 ------ .../docs/classes/Objects/DiscordChannel.mdx | 60 +------- .../classes/Objects/DiscordForumChannel.mdx | 50 ------ .../classes/Objects/DiscordMediaChannel.mdx | 50 ------ .../classes/Objects/DiscordTextChannel.mdx | 50 ------ .../classes/Objects/DiscordThreadChannel.mdx | 66 -------- .../classes/Objects/DiscordVoiceChannel.mdx | 50 ------ .../Objects/GuildAnnouncementChannel.mdx | 38 +++++ .../GuildAnnouncementThreadChannel.mdx | 38 +++++ .../classes/Objects/GuildCategoryChannel.mdx | 38 +++++ .../classes/Objects/GuildDirectoryChannel.mdx | 38 +++++ .../classes/Objects/GuildForumChannel.mdx | 38 +++++ .../classes/Objects/GuildMediaChannel.mdx | 38 +++++ .../Objects/GuildPrivateThreadChannel.mdx | 38 +++++ .../Objects/GuildPublicThreadChannel.mdx | 38 +++++ .../Objects/GuildStageVoiceChannel.mdx | 38 +++++ .../docs/classes/Objects/GuildTextChannel.mdx | 38 +++++ .../classes/Objects/GuildVoiceChannel.mdx | 38 +++++ .../docs/classes/Objects/UserDMChannel.mdx | 38 +++++ .../docs/classes/Objects/UserGroupChannel.mdx | 41 +++++ 30 files changed, 1029 insertions(+), 374 deletions(-) create mode 100644 src/content/docs/classes/Builders/ChannelBuilder.mdx create mode 100644 src/content/docs/classes/Builders/DiscordPermission.mdx create mode 100644 src/content/docs/classes/Objects/BaseDiscordChannel.mdx create mode 100644 src/content/docs/classes/Objects/BaseDiscordGuildChannel.mdx create mode 100644 src/content/docs/classes/Objects/BaseGuildTextChannel.mdx create mode 100644 src/content/docs/classes/Objects/BaseGuildThread.mdx create mode 100644 src/content/docs/classes/Objects/BaseGuildVoiceChannel.mdx create mode 100644 src/content/docs/classes/Objects/BaseUserChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordAnnouncementChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordForumChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordMediaChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordTextChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordThreadChannel.mdx delete mode 100644 src/content/docs/classes/Objects/DiscordVoiceChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildAnnouncementChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildAnnouncementThreadChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildCategoryChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildDirectoryChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildForumChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildMediaChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildPrivateThreadChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildPublicThreadChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildStageVoiceChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildTextChannel.mdx create mode 100644 src/content/docs/classes/Objects/GuildVoiceChannel.mdx create mode 100644 src/content/docs/classes/Objects/UserDMChannel.mdx create mode 100644 src/content/docs/classes/Objects/UserGroupChannel.mdx diff --git a/discord-luau b/discord-luau index 06360c4..359282c 160000 --- a/discord-luau +++ b/discord-luau @@ -1 +1 @@ -Subproject commit 06360c47449a6387fb1143613a39c4ff230bd23f +Subproject commit 359282c51bc59e4499ce8e3957533671755835f3 diff --git a/src/content/docs/classes/Builders/ChannelBuilder.mdx b/src/content/docs/classes/Builders/ChannelBuilder.mdx new file mode 100644 index 0000000..41ae010 --- /dev/null +++ b/src/content/docs/classes/Builders/ChannelBuilder.mdx @@ -0,0 +1,145 @@ +--- +title: ChannelBuilder +description: DiscordLuau docs for ChannelBuilder. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + + + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +### Type + + +--- +An enumeration of activity types. + +- Game: 0 +- Streaming: 1 +- Listening: 2 +- Watching: 3 +- Competing: 5 +### VideoQualityMode + + +--- +An enumeration of activity types. + +- QualityAuto: 1 +- Quality720p: 2 +### SortOrder + + +--- +An enumeration of activity types. + +- LatestActivity: 0 +- CreationDate: 1 +### ForumLayout + + +--- +An enumeration of activity types. + +- NotSet: 0 +- ListView: 1 +- GalleryView: 2 + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### setType + +> +Sets the type of the current discord channel. +### setBitrate + +> +Sets the bitrate of the current discord voice channel. +### setRegion + +> +Sets the region of the current discord voice channel. +### setVideoQualityMode + +> +Sets the Video Quality Mode of a discord voice channel +### addMemberOverwrite + +> +Sets an overwrite for a Member, allowing you to define allowed permissions, alongside dissallowed permissions. +### addRoleOverwrite + +> +Sets an overwrite for a Role, allowing you to define allowed permissions, alongside dissallowed permissions. +### setDefaultReaction + +> +Sets the default reaction for Forum and Media channels. +### setDefaultSortOrder + +> +Sets the default sort order for Forum and Media channels. +### setDefaultForumLayout + +> +Sets the Default layout for Forum channels. +### setPosition + +> +Sets the name of the Discord Channel +### setPosition + +> +Sets the position of a Discord Channel, the position determines the position the channel appears in the channel hierarchy. +### setTopic + +> +Sets the topic of a Discord Channel. +### setNSFW + +> +Locks the channel to be NSFW only. +### setRateLimitPerUser + +> +Sets the rate limit per user for a discord channel. +### setParentCategoryId + +> +Sets the parent category of a discord channel. +### setDefaultAutoArchiveDuration + +> +Sets the default archive duration for a discord channel. +### setDefaultThreadRateLimitPerUser + +> +Sets the default thread limit for each user in a discord channel. +### toPayloadObject + +> +Converts the activity to a JSON object that can be sent to the Discord API. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +### new + +> +Creates a new instance of ChannelBuilder. + diff --git a/src/content/docs/classes/Builders/DiscordPermission.mdx b/src/content/docs/classes/Builders/DiscordPermission.mdx new file mode 100644 index 0000000..c315f3e --- /dev/null +++ b/src/content/docs/classes/Builders/DiscordPermission.mdx @@ -0,0 +1,36 @@ +--- +title: DiscordPermission +description: DiscordLuau docs for DiscordPermission. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + + + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The DiscordPermission instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The DiscordPermission instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The DiscordPermission instance has no set functions! + diff --git a/src/content/docs/classes/DiscordLuau.mdx b/src/content/docs/classes/DiscordLuau.mdx index e2633df..893b4ed 100644 --- a/src/content/docs/classes/DiscordLuau.mdx +++ b/src/content/docs/classes/DiscordLuau.mdx @@ -35,6 +35,9 @@ A Discord API wrapper written in Luau, expected to run under the Lune runtime. ### MessageBuilder +### ChannelBuilder + + ### AttachmentBuilder diff --git a/src/content/docs/classes/Objects/BaseDiscordChannel.mdx b/src/content/docs/classes/Objects/BaseDiscordChannel.mdx new file mode 100644 index 0000000..90d462e --- /dev/null +++ b/src/content/docs/classes/Objects/BaseDiscordChannel.mdx @@ -0,0 +1,39 @@ +--- +title: BaseDiscordChannel +description: DiscordLuau docs for BaseDiscordChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents a base discord channel, every discord channel object will extend from this as a base. + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseDiscordChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### deleteAsync + +> +Deletes the channel asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseDiscordChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/BaseDiscordGuildChannel.mdx b/src/content/docs/classes/Objects/BaseDiscordGuildChannel.mdx new file mode 100644 index 0000000..4234d71 --- /dev/null +++ b/src/content/docs/classes/Objects/BaseDiscordGuildChannel.mdx @@ -0,0 +1,77 @@ +--- +title: BaseDiscordGuildChannel +description: DiscordLuau docs for BaseDiscordGuildChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents a base object for any/all guild channels. + +=@inherit Objects.BaseDiscordChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseDiscordGuildChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### overwriteRolePermissionsAsync + +> +set overwrites for a specific role permissions for this channel in a discord guild. +### overwriteMemberPermissionssync + +> +set overwrites for a specific members permissions for this channel in a discord guild. +### overwriteMemberPermissionssync + +> +deletes overwritten permissions for the given id, the given id must be either a role id or a user id +### getInvitesAsync + +> +Gets the invites for the channel asynchronously. +### createInviteAsync + +> +Creates an invite for the channel asynchronously. +### setPositionAsync + +> +Sets the position of the channel asynchronously. +### modifyAsync + +> +Modifies the thread channel settings asynchronously. +### getPublicArchivedThreadsAsync + +> +Gets all archived public threads in the guild channel asynchronously. +### getPrivateArchivedThreadsAsync + +> +Gets all archived private threads in the guild channel asynchronously. +### getJoinedPrivateArchivedThreads + +> +Gets all archived private threads that the bot is a member of, in the guild channel asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseDiscordGuildChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/BaseGuildTextChannel.mdx b/src/content/docs/classes/Objects/BaseGuildTextChannel.mdx new file mode 100644 index 0000000..8010ba0 --- /dev/null +++ b/src/content/docs/classes/Objects/BaseGuildTextChannel.mdx @@ -0,0 +1,61 @@ +--- +title: BaseGuildTextChannel +description: DiscordLuau docs for BaseGuildTextChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +A base guild text channel, where any/all text channels extend from. + +=@inherit Objects.BaseDiscordGuildChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseGuildTextChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### triggerTypingIndicator + +> +Triggers the typing indicator in the channel. +### getMessagesAsync + +> +Gets messages from the channel asynchronously. +### getMessageAsync + +> +Gets a specific message from the channel asynchronously. +### bulkDeleteMessagesAsync + +> +Deletes multiple messages from the channel asynchronously. +### sendMessageAsync + +> +Sends a message to the channel asynchronously. +### getPinnedMessagesAsync + +> +Retrieves the pinned messages in the text channel asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseGuildTextChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/BaseGuildThread.mdx b/src/content/docs/classes/Objects/BaseGuildThread.mdx new file mode 100644 index 0000000..7c05bee --- /dev/null +++ b/src/content/docs/classes/Objects/BaseGuildThread.mdx @@ -0,0 +1,61 @@ +--- +title: BaseGuildThread +description: DiscordLuau docs for BaseGuildThread. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +A base discord Thread channel, all discord threads extend from. + +=@inherit Objects.BaseGuildTextChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseGuildThread instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### joinThreadAsync + +> +Joins the current discord bot into the thread +### addMemberToThreadAsync + +> +Adds the passed member to the thread channel +### leaveThreadAsync + +> +Leaves the thread channel if the discord bot is in the channel. +### removeMemberFromThreadAsync + +> +Removes the passed user id from the current thread channel +### getThreadMemberAsync + +> +Returns a list of members that are active in the current thread channel +### removeMemberFromThreadAsync + +> +Returns a list of members that are active in the current thread channel + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseGuildThread instance has no set functions! + diff --git a/src/content/docs/classes/Objects/BaseGuildVoiceChannel.mdx b/src/content/docs/classes/Objects/BaseGuildVoiceChannel.mdx new file mode 100644 index 0000000..f84e5cc --- /dev/null +++ b/src/content/docs/classes/Objects/BaseGuildVoiceChannel.mdx @@ -0,0 +1,45 @@ +--- +title: BaseGuildVoiceChannel +description: DiscordLuau docs for BaseGuildVoiceChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +A base discord voice channel, every Guild Voice channel extends from. + +=@inherit Objects.BaseDiscordGuildChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseGuildVoiceChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### connectAsync + +> +Connects to the voice channel asynchronously. +### disconnectAsync + +> +Disconnects from the voice channel asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseGuildVoiceChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/BaseUserChannel.mdx b/src/content/docs/classes/Objects/BaseUserChannel.mdx new file mode 100644 index 0000000..b7d3426 --- /dev/null +++ b/src/content/docs/classes/Objects/BaseUserChannel.mdx @@ -0,0 +1,61 @@ +--- +title: BaseUserChannel +description: DiscordLuau docs for BaseUserChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +A base User channel, allwoing bots to interact with channels outside of a discord Guild. + +=@inherit Objects.BaseDiscordChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The BaseUserChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### triggerTypingIndicator + +> +Triggers the typing indicator in the channel. +### getMessagesAsync + +> +Gets messages from the channel asynchronously. +### getMessageAsync + +> +Gets a specific message from the channel asynchronously. +### bulkDeleteMessagesAsync + +> +Deletes multiple messages from the channel asynchronously. +### sendMessageAsync + +> +Sends a message to the channel asynchronously. +### getPinnedMessagesAsync + +> +Retrieves the pinned messages in the text channel asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The BaseUserChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/DiscordAnnouncementChannel.mdx b/src/content/docs/classes/Objects/DiscordAnnouncementChannel.mdx deleted file mode 100644 index 32ada34..0000000 --- a/src/content/docs/classes/Objects/DiscordAnnouncementChannel.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscordAnnouncementChannel -description: DiscordLuau docs for DiscordAnnouncementChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordAnnouncementChannel represents a text channel in a Discord server, providing methods to modify the channel and interact with pinned messages. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordAnnouncementChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### modifyAsync - -> -Modifies the text channel settings asynchronously. -### getPinnedMessagesAsync - -> -Retrieves the pinned messages in the text channel asynchronously. -### followChannelAsync - -> -allows this channel object to follow another announcement channel. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordAnnouncementChannel. - diff --git a/src/content/docs/classes/Objects/DiscordChannel.mdx b/src/content/docs/classes/Objects/DiscordChannel.mdx index 0983c5f..71746bb 100644 --- a/src/content/docs/classes/Objects/DiscordChannel.mdx +++ b/src/content/docs/classes/Objects/DiscordChannel.mdx @@ -20,71 +20,17 @@ The `DiscordChannel` class represents a generic Discord channel and provides var ## Properties -### type - - ---- -The type of the Discord channel. Default is "DiscordChannel". +The DiscordChannel instance has no set properties! [//]: # (----- DOCUMENT METHODS ----- ) ## Methods -### triggerTypingIndicator - -> -Triggers the typing indicator in the channel. -### overwriteRolePermissionsAsync - -> -set overwrites for a specific role permissions for this channel in a discord guild. -### overwriteMemberPermissionssync - -> -set overwrites for a specific members permissions for this channel in a discord guild. -### overwriteMemberPermissionssync - -> -deletes overwritten permissions for the given id, the given id must be either a role id or a user id -### deleteAsync - -> -Deletes the channel asynchronously. -### getMessagesAsync - -> -Gets messages from the channel asynchronously. -### getMessageAsync - -> -Gets a specific message from the channel asynchronously. -### bulkDeleteMessagesAsync - -> -Deletes multiple messages from the channel asynchronously. -### sendMessageAsync - -> -Sends a message to the channel asynchronously. -### getInvitesAsync - -> -Gets the invites for the channel asynchronously. -### createInviteAsync - -> -Creates an invite for the channel asynchronously. -### setPositionAsync - -> -Sets the position of the channel asynchronously. +The DiscordChannel instance has no set methods! [//]: # (----- DOCUMENT FUNCTIONS ----- ) ## Functions -### new - -> -Creates a new DiscordChannel instance. +The DiscordChannel instance has no set functions! diff --git a/src/content/docs/classes/Objects/DiscordForumChannel.mdx b/src/content/docs/classes/Objects/DiscordForumChannel.mdx deleted file mode 100644 index 0a0b7f6..0000000 --- a/src/content/docs/classes/Objects/DiscordForumChannel.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscordForumChannel -description: DiscordLuau docs for DiscordForumChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordForumChannel represents a thread channel in a Discord server, providing methods to modify the channel and interact with pinned messages. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordForumChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### createThreadAsync - -> -Create a new thread inside of a Forum channel. -### modifyAsync - -> -Modifies the thread channel settings asynchronously. -### getPinnedMessagesAsync - -> -Retrieves the pinned messages in the thread channel asynchronously. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordForumChannel. - diff --git a/src/content/docs/classes/Objects/DiscordMediaChannel.mdx b/src/content/docs/classes/Objects/DiscordMediaChannel.mdx deleted file mode 100644 index fb52f1d..0000000 --- a/src/content/docs/classes/Objects/DiscordMediaChannel.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscordMediaChannel -description: DiscordLuau docs for DiscordMediaChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordMediaChannel represents a thread channel in a Discord server, providing methods to modify the channel and interact with pinned messages. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordMediaChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### createThreadAsync - -> -Create a new thread inside of a Media channel. -### modifyAsync - -> -Modifies the thread channel settings asynchronously. -### getPinnedMessagesAsync - -> -Retrieves the pinned messages in the thread channel asynchronously. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordMediaChannel. - diff --git a/src/content/docs/classes/Objects/DiscordTextChannel.mdx b/src/content/docs/classes/Objects/DiscordTextChannel.mdx deleted file mode 100644 index da829a5..0000000 --- a/src/content/docs/classes/Objects/DiscordTextChannel.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscordTextChannel -description: DiscordLuau docs for DiscordTextChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordTextChannel represents a text channel in a Discord server, providing methods to modify the channel and interact with pinned messages. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordTextChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### createThreadAsync - -> -Creates a thread in the current channel -### modifyAsync - -> -Modifies the text channel settings asynchronously. -### getPinnedMessagesAsync - -> -Retrieves the pinned messages in the text channel asynchronously. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordTextChannel. - diff --git a/src/content/docs/classes/Objects/DiscordThreadChannel.mdx b/src/content/docs/classes/Objects/DiscordThreadChannel.mdx deleted file mode 100644 index 7d2ffbc..0000000 --- a/src/content/docs/classes/Objects/DiscordThreadChannel.mdx +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: DiscordThreadChannel -description: DiscordLuau docs for DiscordThreadChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordThreadChannel represents a thread channel in a Discord server, providing methods to modify the channel and interact with pinned messages. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordThreadChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### joinThreadAsync - -> -Joins the current discord bot into the thread -### addMemberToThreadAsync - -> -Adds the passed member to the thread channel -### leaveThreadAsync - -> -Leaves the thread channel if the discord bot is in the channel. -### removeMemberFromThreadAsync - -> -Removes the passed user id from the current thread channel -### removeMemberFromThreadAsync - -> -Returns a list of members that are active in the current thread channel -### modifyAsync - -> -Modifies the thread channel settings asynchronously. -### getPinnedMessagesAsync - -> -Retrieves the pinned messages in the thread channel asynchronously. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordThreadChannel. - diff --git a/src/content/docs/classes/Objects/DiscordVoiceChannel.mdx b/src/content/docs/classes/Objects/DiscordVoiceChannel.mdx deleted file mode 100644 index a185d41..0000000 --- a/src/content/docs/classes/Objects/DiscordVoiceChannel.mdx +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscordVoiceChannel -description: DiscordLuau docs for DiscordVoiceChannel. ---- -[//]: # (This file was automatically compiled through the Generator luau code under this repository) -[//]: # (if you want to edit the documentation of discord-luau, please write changes) -[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) -[//]: # (them into markdown files that Nextra can interpret!) - -[//]: # (----- DOCUMENT IMPORTS ----- ) - -import LuaDeclaration from '$/components/LuaDeclaration.astro'; -import LuaProperty from '$/components/LuaProperty.astro'; - -[//]: # (----- DOCUMENT DESCRIPTION ----- ) - -DiscordVoiceChannel represents a voice channel in a Discord server, providing methods to connect, disconnect, and modify the channel. - -[//]: # (----- DOCUMENT PROPERTIES ----- ) - -## Properties - -The DiscordVoiceChannel instance has no set properties! - -[//]: # (----- DOCUMENT METHODS ----- ) - -## Methods - -### connectAsync - -> -Connects to the voice channel asynchronously. -### disconnectAsync - -> -Disconnects from the voice channel asynchronously. -### modifyAsync - -> -Modifies the voice channel settings asynchronously. - -[//]: # (----- DOCUMENT FUNCTIONS ----- ) - -## Functions - -### new - -> -Creates a new instance of DiscordVoiceChannel. - diff --git a/src/content/docs/classes/Objects/GuildAnnouncementChannel.mdx b/src/content/docs/classes/Objects/GuildAnnouncementChannel.mdx new file mode 100644 index 0000000..9a17461 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildAnnouncementChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildAnnouncementChannel +description: DiscordLuau docs for GuildAnnouncementChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Announcement channel. + +=@inherit Objects.BaseGuildTextChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildAnnouncementChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildAnnouncementChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildAnnouncementChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildAnnouncementThreadChannel.mdx b/src/content/docs/classes/Objects/GuildAnnouncementThreadChannel.mdx new file mode 100644 index 0000000..15dc369 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildAnnouncementThreadChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildAnnouncementThreadChannel +description: DiscordLuau docs for GuildAnnouncementThreadChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Announcement thread channel. + +=@inherit Objects.BaseGuildThread + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildAnnouncementThreadChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildAnnouncementThreadChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildAnnouncementThreadChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildCategoryChannel.mdx b/src/content/docs/classes/Objects/GuildCategoryChannel.mdx new file mode 100644 index 0000000..e8fc43f --- /dev/null +++ b/src/content/docs/classes/Objects/GuildCategoryChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildCategoryChannel +description: DiscordLuau docs for GuildCategoryChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Category channel. + +=@inherit Objects.BaseDiscordChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildCategoryChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildCategoryChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildCategoryChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildDirectoryChannel.mdx b/src/content/docs/classes/Objects/GuildDirectoryChannel.mdx new file mode 100644 index 0000000..b2adbea --- /dev/null +++ b/src/content/docs/classes/Objects/GuildDirectoryChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildDirectoryChannel +description: DiscordLuau docs for GuildDirectoryChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Directory channel. + +=@inherit Objects.BaseGuildTextChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildDirectoryChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildDirectoryChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildDirectoryChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildForumChannel.mdx b/src/content/docs/classes/Objects/GuildForumChannel.mdx new file mode 100644 index 0000000..a36e927 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildForumChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildForumChannel +description: DiscordLuau docs for GuildForumChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Forum channel. + +=@inherit Objects.BaseDiscordChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildForumChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildForumChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildForumChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildMediaChannel.mdx b/src/content/docs/classes/Objects/GuildMediaChannel.mdx new file mode 100644 index 0000000..b8ec0b2 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildMediaChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildMediaChannel +description: DiscordLuau docs for GuildMediaChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Media channel. + +=@inherit Objects.BaseDiscordChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildMediaChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildMediaChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildMediaChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildPrivateThreadChannel.mdx b/src/content/docs/classes/Objects/GuildPrivateThreadChannel.mdx new file mode 100644 index 0000000..763d217 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildPrivateThreadChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildPrivateThreadChannel +description: DiscordLuau docs for GuildPrivateThreadChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Private Thread channel. + +=@inherit Objects.BaseGuildThread + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildPrivateThreadChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildPrivateThreadChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildPrivateThreadChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildPublicThreadChannel.mdx b/src/content/docs/classes/Objects/GuildPublicThreadChannel.mdx new file mode 100644 index 0000000..9f4cdce --- /dev/null +++ b/src/content/docs/classes/Objects/GuildPublicThreadChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildPublicThreadChannel +description: DiscordLuau docs for GuildPublicThreadChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Public Thread channel. + +=@inherit Objects.BaseGuildThread + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildPublicThreadChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildPublicThreadChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildPublicThreadChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildStageVoiceChannel.mdx b/src/content/docs/classes/Objects/GuildStageVoiceChannel.mdx new file mode 100644 index 0000000..e627715 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildStageVoiceChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildStageVoiceChannel +description: DiscordLuau docs for GuildStageVoiceChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Stage channel. + +=@inherit Objects.BaseGuildVoiceChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildStageVoiceChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildStageVoiceChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildStageVoiceChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildTextChannel.mdx b/src/content/docs/classes/Objects/GuildTextChannel.mdx new file mode 100644 index 0000000..3834202 --- /dev/null +++ b/src/content/docs/classes/Objects/GuildTextChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildTextChannel +description: DiscordLuau docs for GuildTextChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Text channel. + +=@inherit Objects.BaseGuildTextChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildTextChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildTextChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildTextChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/GuildVoiceChannel.mdx b/src/content/docs/classes/Objects/GuildVoiceChannel.mdx new file mode 100644 index 0000000..e27897a --- /dev/null +++ b/src/content/docs/classes/Objects/GuildVoiceChannel.mdx @@ -0,0 +1,38 @@ +--- +title: GuildVoiceChannel +description: DiscordLuau docs for GuildVoiceChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Voice channel. + +=@inherit Objects.BaseGuildVoiceChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The GuildVoiceChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The GuildVoiceChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The GuildVoiceChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/UserDMChannel.mdx b/src/content/docs/classes/Objects/UserDMChannel.mdx new file mode 100644 index 0000000..6e772d8 --- /dev/null +++ b/src/content/docs/classes/Objects/UserDMChannel.mdx @@ -0,0 +1,38 @@ +--- +title: UserDMChannel +description: DiscordLuau docs for UserDMChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Direct Message Channel + +=@inherit Objects.BaseUserChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The UserDMChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +The UserDMChannel instance has no set methods! + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The UserDMChannel instance has no set functions! + diff --git a/src/content/docs/classes/Objects/UserGroupChannel.mdx b/src/content/docs/classes/Objects/UserGroupChannel.mdx new file mode 100644 index 0000000..0ff04e9 --- /dev/null +++ b/src/content/docs/classes/Objects/UserGroupChannel.mdx @@ -0,0 +1,41 @@ +--- +title: UserGroupChannel +description: DiscordLuau docs for UserGroupChannel. +--- +[//]: # (This file was automatically compiled through the Generator luau code under this repository) +[//]: # (if you want to edit the documentation of discord-luau, please write changes) +[//]: # (to the discord-luau repository itself, we extract the comments from discord-luau and translate) +[//]: # (them into markdown files that Nextra can interpret!) + +[//]: # (----- DOCUMENT IMPORTS ----- ) + +import LuaDeclaration from '$/components/LuaDeclaration.astro'; +import LuaProperty from '$/components/LuaProperty.astro'; + +[//]: # (----- DOCUMENT DESCRIPTION ----- ) + +Represents the implementation of a Discord Group Channel + +=@inherit Objects.BaseUserChannel + +[//]: # (----- DOCUMENT PROPERTIES ----- ) + +## Properties + +The UserGroupChannel instance has no set properties! + +[//]: # (----- DOCUMENT METHODS ----- ) + +## Methods + +### modifyAsync + +> +Modifies the thread channel settings asynchronously. + +[//]: # (----- DOCUMENT FUNCTIONS ----- ) + +## Functions + +The UserGroupChannel instance has no set functions! +