Skip to content

Commit

Permalink
docs: update refs for DiscordLuau/discord-luau@94f44e0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 19, 2024
1 parent dd124ab commit 55117ad
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/classes/Network/DiscordVoiceConnection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ This class is internal and should not be used directly by developers. Instead, u

### voiceServerUpdate

<LuaProperty name="DiscordVoiceConnection.voiceServerUpdate" type="{ endpoint: string, token: string, guildId: string, }" />
<LuaProperty name="DiscordVoiceConnection.voiceServerUpdate" type="{ endpoint: string, token: string, guildId: string }" />
---

### voiceStateUpdate

<LuaProperty name="DiscordVoiceConnection.voiceStateUpdate" type="{ sessionId: string, }" />
<LuaProperty name="DiscordVoiceConnection.voiceStateUpdate" type="{ sessionId: string }" />
---

### onEvent
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/classes/Network/WebsocketBuffer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This class is internal and should not be used directly by developers. Instead, u

### metadata

<LuaProperty name="WebsocketBuffer.metadata" type="{ headers: { [string]: string }, attachments: { any }, }," />
<LuaProperty name="WebsocketBuffer.metadata" type="{ headers: { [string]: string }, attachments: { any } }," />
---

### data
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/classes/Objects/BaseGuildThread.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ A base discord Thread channel, all discord threads extend from.

### threadMetadata

<LuaProperty name="BaseGuildThread.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string?, }," />
<LuaProperty name="BaseGuildThread.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string? }," />
---

### availableTags

<LuaProperty name="BaseGuildThread.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string?, }, }," />
<LuaProperty name="BaseGuildThread.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string? } }," />
---

### appliedTags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ The `DiscordAutomoderationRule` class provides methods to interact with Discord

### triggerMetadata

<LuaProperty name="DiscordAutomoderationRule.triggerMetadata" type="{ keywordFilter: { string }, regexPatterns: { string }, presets: { number }, allowList: { string }, mentionTotalLimit: number, mentionRaidProtectionEnabled: boolean, }" />
<LuaProperty name="DiscordAutomoderationRule.triggerMetadata" type="{ keywordFilter: { string }, regexPatterns: { string }, presets: { number }, allowList: { string }, mentionTotalLimit: number, mentionRaidProtectionEnabled: boolean }" />
---

### actions

<LuaProperty name="DiscordAutomoderationRule.actions" type="{ type: number, metadata: { channelId: string, durationSeconds: number, customMessage: string?, }?, }," />
<LuaProperty name="DiscordAutomoderationRule.actions" type="{ type: number, metadata: { channelId: string, durationSeconds: number, customMessage: string? }? }," />
---


Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/classes/Objects/DiscordInvite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ DiscordInvite represents an invite link to a Discord server, providing methods t

### guild

<LuaProperty name="DiscordInvite.guild" type="{ id: string, name: string, }?" />
<LuaProperty name="DiscordInvite.guild" type="{ id: string, name: string }?" />
---

### inviter
Expand All @@ -52,7 +52,7 @@ DiscordInvite represents an invite link to a Discord server, providing methods t

### targetApplication

<LuaProperty name="DiscordInvite.targetApplication" type="{ id: string, }?" />
<LuaProperty name="DiscordInvite.targetApplication" type="{ id: string }?" />
---


Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/classes/Objects/DiscordMessage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ DiscordMessage represents a message in a Discord channel, providing methods to r

### author

<LuaProperty name="DiscordMessage.author" type="{ username: string, globalName: string, avatar: string, id: string, publicFlags: number, discriminator: string, }" />
<LuaProperty name="DiscordMessage.author" type="{ username: string, globalName: string, avatar: string, id: string, publicFlags: number, discriminator: string }" />
---

### content
Expand Down Expand Up @@ -92,7 +92,7 @@ DiscordMessage represents a message in a Discord channel, providing methods to r

### member

<LuaProperty name="DiscordMessage.member" type="{ flags: number, deaf: boolean, roles: { [string]: string }, pending: boolean, mute: boolean, joinedAt: string, }" />
<LuaProperty name="DiscordMessage.member" type="{ flags: number, deaf: boolean, roles: { [string]: string }, pending: boolean, mute: boolean, joinedAt: string }" />
---


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ Represents the implementation of a Discord Announcement thread channel.
> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### threadMetadata

<LuaProperty name="GuildAnnouncementThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string?, }," />
<LuaProperty name="GuildAnnouncementThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string? }," />
---


> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### availableTags

<LuaProperty name="GuildAnnouncementThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string?, }, }," />
<LuaProperty name="GuildAnnouncementThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string? } }," />
---


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ Represents the implementation of a Discord Private Thread channel.
> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### threadMetadata

<LuaProperty name="GuildPrivateThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string?, }," />
<LuaProperty name="GuildPrivateThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string? }," />
---


> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### availableTags

<LuaProperty name="GuildPrivateThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string?, }, }," />
<LuaProperty name="GuildPrivateThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string? } }," />
---


Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/classes/Objects/GuildPublicThreadChannel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ Represents the implementation of a Discord Public Thread channel.
> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### threadMetadata

<LuaProperty name="GuildPublicThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string?, }," />
<LuaProperty name="GuildPublicThreadChannel.threadMetadata" type="{ archived: boolean, autoArchiveDuration: number, archiveTimestamp: string, locked: boolean, invitable: boolean?, createTimestamp: string? }," />
---


> This property was inherited from [Objects.BaseGuildThread](Objects.BaseGuildThread)
### availableTags

<LuaProperty name="GuildPublicThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string?, }, }," />
<LuaProperty name="GuildPublicThreadChannel.availableTags" type="{ { id: string, name: string, moderated: boolean, emojiId: string?, emojiName: string? } }," />
---


Expand Down

0 comments on commit 55117ad

Please sign in to comment.