2024
diff --git a/src/SUMMARY.md b/src/SUMMARY.md
index 0aee19c9171..cacfcbe2170 100644
--- a/src/SUMMARY.md
+++ b/src/SUMMARY.md
@@ -4,7 +4,7 @@
[Settings](./settings.md)
[Changelog](./CHANGELOG.md)
[Flowchart Changelog](./FLOWCHART_CHANGELOG.md)
-[Entity Transfer Policy](./entityTransferPolicy.md)
+[Terms & Privacy](./termsAndPrivacy.md)
---
@@ -58,15 +58,17 @@
- [Functions]()
- [Introduction](./bdscript/introduction.md)
- - [Components]()
+ - [Component]()
- [$addButton](./bdscript/addButton.md)
- [$addSelectMenuOption](./bdscript/addSelectMenuOption.md)
- [$addSeparator](./bdscript/addSeparator.md)
- [$addTextDisplay](./bdscript/addTextDisplay.md)
- [$addTextInput](./bdscript/addTextInput.md)
+ - [$defer](./bdscript/defer.md)
- [$editButton](./bdscript/editButton.md)
- [$editSelectMenu](./bdscript/editSelectMenu.md)
- [$editSelectMenuOption](./bdscript/editSelectMenuOption.md)
+ - [$input](./bdscript/input.md)
- [$newModal](./bdscript/newModal.md)
- [$newSelectMenu](./bdscript/newSelectMenu.md)
- [$removeAllComponents](./bdscript/removeAllComponents.md)
@@ -74,11 +76,11 @@
- [$removeButtons](./bdscript/removeButtons.md)
- [$removeButtons[]](./bdscript/removeButtonsComplex.md)
- [$removeComponent](./bdscript/removeComponent.md)
- - [$defer](./bdscript/defer.md)
- - [$input](./bdscript/input.md)
- - [Embeds]()
+ - [Embed]()
- [$addContainer](./bdscript/addContainer.md)
- [$addField](./bdscript/addField.md)
+ - [$addMediaGallery](./bdscript/addMediaGallery.md)
+ - [$addMediaGalleryItem](./bdscript/addMediaGalleryItem.md)
- [$addSection](./bdscript/addSection.md)
- [$addThumbnail](./bdscript/addThumbnail.md)
- [$addTimestamp](./bdscript/addTimestamp.md)
@@ -102,8 +104,9 @@
- [$discriminator](./bdscript/discriminator.md)
- [$displayName](./bdscript/displayName.md)
- [$displayName[]](./bdscript/displayNameComplex.md)
- - [$getUserStatus](./bdscript/getUserStatus.md)
- [$getCustomStatus](./bdscript/getCustomStatus.md)
+ - [$getUserStatus](./bdscript/getUserStatus.md)
+ - [$hypesquad](./bdscript/hypesquad.md)
- [$isAdmin](./bdscript/isAdmin.md)
- [$isBooster](./bdscript/isBooster.md)
- [$isBot](./bdscript/isBot.md)
@@ -123,14 +126,14 @@
- [$username[]](./bdscript/usernameComplex.md)
- [$userPerms](./bdscript/userPerms.md)
- [$userServerAvatar](./bdscript/userServerAvatar.md)
- - [$changeUsername](./bdscript/changeUsername.md)
- - [$changeUsernameWithID](./bdscript/changeUsernameWithID.md)
- [$findUser](./bdscript/findUser.md)
- [Moderation]()
- [$ban](./bdscript/ban.md)
- [$ban[]](./bdscript/banComplex.md)
- [$banID](./bdscript/banID.md)
- [$banID[]](./bdscript/banIDComplex.md)
+ - [$changeUsername](./bdscript/changeUsername.md)
+ - [$changeUsernameWithID](./bdscript/changeUsernameWithID.md)
- [$clear](./bdscript/clear.md)
- [$clear[]](./bdscript/clearComplex.md)
- [$getBanReason](./bdscript/getBanReason.md)
@@ -146,7 +149,7 @@
- [$unbanID[]](./bdscript/unbanIDComplex.md)
- [$unmute](./bdscript/unmute.md)
- [$untimeout](./bdscript/untimeout.md)
- - [Channels]()
+ - [Channel]()
- [$afkChannelID](./bdscript/afkChannelID.md)
- [$categoryChannels](./bdscript/categoryChannels.md)
- [$categoryCount](./bdscript/categoryCount.md)
@@ -164,6 +167,7 @@
- [$channelTopic](./bdscript/channelTopic.md)
- [$channelTopic[]](./bdscript/channelTopicComplex.md)
- [$channelType](./bdscript/channelType.md)
+ - [$closeTicket](./bdscript/closeTicket.md)
- [$createChannel](./bdscript/createChannel.md)
- [$deleteChannels](./bdscript/deleteChannels.md)
- [$deleteChannelsByName](./bdscript/deleteChannelsByName.md)
@@ -172,13 +176,12 @@
- [$findChannel](./bdscript/findChannel.md)
- [$getSlowmode](./bdscript/getSlowmode.md)
- [$isNSFW](./bdscript/isNSFW.md)
- - [$closeTicket](./bdscript/closeTicket.md)
- [$isTicket](./bdscript/isTicket.md)
- - [$newTicket](./bdscript/newTicket.md)
- [$lastMessageID](./bdscript/lastMessageID.md)
- [$lastPinTimestamp](./bdscript/lastPinTimestamp.md)
- [$modifyChannel](./bdscript/modifyChannel.md)
- [$modifyChannelPerms](./bdscript/modifyChannelPerms.md)
+ - [$newTicket](./bdscript/newTicket.md)
- [$parentID](./bdscript/parentID.md)
- [$parentID[]](./bdscript/parentIDComplex.md)
- [$rulesChannelID](./bdscript/rulesChannelID.md)
@@ -186,7 +189,7 @@
- [$slowmode](./bdscript/slowmode.md)
- [$systemChannelID](./bdscript/systemChannelID.md)
- [$voiceUserLimit](./bdscript/voiceUserLimit.md)
- - [Roles]()
+ - [Role]()
- [$allowRoleMentions](./bdscript/allowRoleMentions.md)
- [$colorRole](./bdscript/colorRole.md)
- [$createRole](./bdscript/createRole.md)
@@ -220,7 +223,6 @@
- [$userRoles](./bdscript/userRoles.md)
- [Bot]()
- [$allMembersCount](./bdscript/allMembersCount.md)
- - [$awaitFunc](./bdscript/awaitFunc.md)
- [$botCommands](./bdscript/botCommands.md)
- [$botID](./bdscript/botID.md)
- [$botLeave](./bdscript/botLeave.md)
@@ -230,46 +232,52 @@
- [$botNode](./bdscript/botNode.md)
- [$botOwnerID](./bdscript/botOwnerID.md)
- [$botTyping](./bdscript/botTyping.md)
+ - [$getBotInvite](./bdscript/getBotInvite.md)
+ - [$hostingExpireTime](./bdscript/hostingExpireTime.md)
+ - [$hostingExpireTime[]](./bdscript/hostingExpireTimeComplex.md)
+ - [$nodeVersion](./bdscript/nodeVersion.md)
+ - [$nodeVersion[]](./bdscript/nodeVersionComplex.md)
+ - [$ping](./bdscript/ping.md)
+ - [$premiumExpireTime](./bdscript/premiumExpireTime.md)
+ - [$serverCount](./bdscript/serverCount.md)
+ - [$serverNames](./bdscript/serverNames.md)
+ - [$serverNames[]](./bdscript/serverNamesComplex.md)
+ - [$shardID](./bdscript/shardID.md)
+ - [$shardID[]](./bdscript/shardIDComplex.md)
+ - [$slashCommandsCount](./bdscript/slashCommandsCount.md)
+ - [$uptime](./bdscript/uptime.md)
+ - [Command]()
+ - [$alternativeParsing](./bdscript/alternativeParsing.md)
+ - [$awaitFunc](./bdscript/awaitFunc.md)
+ - [$c](./bdscript/c.md)
- [$commandFolder](./bdscript/commandFolder.md)
- [$commandName](./bdscript/commandName.md)
- [$commandTrigger](./bdscript/commandTrigger.md)
- [$commandsCount](./bdscript/commandsCount.md)
- [$customID](./bdscript/customID.md)
- - [$deletecommand](./bdscript/deletecommand.md)
- - [$enabled](./bdscript/enabled.md)
- - [$getBotInvite](./bdscript/getBotInvite.md)
- - [$nodeVersion](./bdscript/nodeVersion.md)
- - [$nodeVersion[]](./bdscript/nodeVersionComplex.md)
- - [$ping](./bdscript/ping.md)
+ - [$eval](./bdscript/eval.md)
+ - [$executionTime](./bdscript/executionTime.md)
+ - [$isSlash](./bdscript/isSlash.md)
+ - [$nomention](./bdscript/nomention.md)
- [$registerGuildCommands](./bdscript/registerGuildCommands.md)
- [$registerGuildCommands[]](./bdscript/registerGuildCommandsComplex.md)
- [$scriptLanguage](./bdscript/scriptLanguage.md)
- - [$shardID](./bdscript/shardID.md)
- - [$shardID[]](./bdscript/shardIDComplex.md)
- - [$slashCommandsCount](./bdscript/slashCommandsCount.md)
- [$slashID](./bdscript/slashID.md)
- [$slashID[]](./bdscript/slashIDComplex.md)
- - [$serverCount](./bdscript/serverCount.md)
- - [$serverNames](./bdscript/serverNames.md)
- - [$serverNames[]](./bdscript/serverNamesComplex.md)
- - [$executionTime](./bdscript/executionTime.md)
- [$unregisterGuildCommands](./bdscript/unregisterGuildCommands.md)
- [$unregisterGuildCommands[]](./bdscript/unregisterGuildCommandsComplex.md)
- - [$uptime](./bdscript/uptime.md)
- - [$eval](./bdscript/eval.md)
- [Server]()
- [$afkTimeout](./bdscript/afkTimeout.md)
- [$boostCount](./bdscript/boostCount.md)
- [$boostCount[]](./bdscript/boostCountComplex.md)
- [$boostLevel](./bdscript/boostLevel.md)
+ - [$getInviteInfo](./bdscript/getInviteInfo.md)
- [$getServerInvite](./bdscript/getServerInvite.md)
- [$getServerInvite[]](./bdscript/getServerInviteComplex.md)
- - [$getInviteInfo](./bdscript/getInviteInfo.md)
- [$guildBanner](./bdscript/guildBanner.md)
- [$guildExists](./bdscript/guildExists.md)
- [$guildID](./bdscript/guildID.md)
- [$guildID[]](./bdscript/guildIDComplex.md)
- - [$hypesquad](./bdscript/hypesquad.md)
- [$membersCount](./bdscript/membersCount.md)
- [$membersCount[]](./bdscript/membersCountComplex.md)
- [$serverDescription](./bdscript/serverDescription.md)
@@ -290,11 +298,9 @@
- [$blackListServers](./bdscript/blackListServers.md)
- [$blackListUsers](./bdscript/blackListUsers.md)
- [Arguments & Conditions]()
- - [$argCount](./bdscript/argCount.md)
- - [$argsCheck](./bdscript/argsCheck.md)
- [$and](./bdscript/and.md)
+ - [$argsCheck](./bdscript/argsCheck.md)
- [$checkCondition](./bdscript/checkCondition.md)
- - [$checkContains](./bdscript/checkContains.md)
- [$else](./bdscript/else.md)
- [$elseif](./bdscript/elseif.md)
- [$endif](./bdscript/endif.md)
@@ -302,13 +308,11 @@
- [$isBoolean](./bdscript/isBoolean.md)
- [$isInteger](./bdscript/isInteger.md)
- [$isNumber](./bdscript/isNumber.md)
- - [$isSlash](./bdscript/isSlash.md)
- [$isValidHex](./bdscript/isValidHex.md)
- [$or](./bdscript/or.md)
- [Text]()
- - [$alternativeParsing](./bdscript/alternativeParsing.md)
+ - [$argCount](./bdscript/argCount.md)
- [$byteCount](./bdscript/byteCount.md)
- - [$c](./bdscript/c.md)
- [$charCount](./bdscript/charCount.md)
- [$cropText](./bdscript/cropText.md)
- [$disableInnerSpaceRemoval](./bdscript/disableInnerSpaceRemoval.md)
@@ -317,10 +321,8 @@
- [$getTextSplitIndex](./bdscript/getTextSplitIndex.md)
- [$getTextSplitLength](./bdscript/getTextSplitLength.md)
- [$joinSplitText](./bdscript/joinSplitText.md)
- - [$mentionedChannels](./bdscript/mentionedChannels.md)
- [$linesCount](./bdscript/linesCount.md)
- [$numberSeparator](./bdscript/numberSeparator.md)
- - [$removeContains](./bdscript/removeContains.md)
- [$removeSplitTextElement](./bdscript/removeSplitTextElement.md)
- [$repeatMessage](./bdscript/repeatMessage.md)
- [$replaceText](./bdscript/replaceText.md)
@@ -336,6 +338,7 @@
- [$calculate](./bdscript/calculate.md)
- [$ceil](./bdscript/ceil.md)
- [$divide](./bdscript/divide.md)
+ - [$enableDecimals](./bdscript/enableDecimals.md)
- [$floor](./bdscript/floor.md)
- [$max](./bdscript/max.md)
- [$min](./bdscript/min.md)
@@ -346,7 +349,6 @@
- [$sqrt](./bdscript/sqrt.md)
- [$sub](./bdscript/sub.md)
- [$sum](./bdscript/sum.md)
- - [$enableDecimals](./bdscript/enableDecimals.md)
- [Random]()
- [$optOff](./bdscript/optOff.md)
- [$random](./bdscript/random.md)
@@ -366,16 +368,12 @@
- [$getTimestamp](./bdscript/getTimestamp.md)
- [$getTimestamp[]](./bdscript/getTimestampComplex.md)
- [$hour](./bdscript/hour.md)
- - [$hostingExpireTime](./bdscript/hostingExpireTime.md)
- - [$hostingExpireTime[]](./bdscript/hostingExpireTimeComplex.md)
- - [$messageEditedTimestamp](./bdscript/messageEditedTimestamp.md)
- [$minute](./bdscript/minute.md)
- [$month](./bdscript/month.md)
- - [$premiumExpireTime](./bdscript/premiumExpireTime.md)
- [$second](./bdscript/second.md)
- [$time](./bdscript/time.md)
- [$year](./bdscript/year.md)
- - [Cooldowns]()
+ - [Cooldown]()
- [$changeCooldownTime](./bdscript/changeCooldownTime.md)
- [$cooldown](./bdscript/cooldown.md)
- [$getCooldown](./bdscript/getCooldown.md)
@@ -387,42 +385,46 @@
- [$channelSendMessage](./bdscript/channelSendMessage.md)
- [$deleteIn](./bdscript/deleteIn.md)
- [$deleteMessage](./bdscript/deleteMessage.md)
+ - [$deletecommand](./bdscript/deletecommand.md)
- [$dm](./bdscript/dm.md)
- [$dm[]](./bdscript/dmComplex.md)
- [$editEmbedIn](./bdscript/editEmbedIn.md)
- [$editIn](./bdscript/editIn.md)
- [$editMessage](./bdscript/editMessage.md)
- [$ephemeral](./bdscript/ephemeral.md)
- - [$isMentioned](./bdscript/isMentioned.md)
- - [$mentioned](./bdscript/mentioned.md)
- - [$nomention](./bdscript/nomention.md)
- [$getAttachments](./bdscript/getAttachments.md)
- [$getEmbedData](./bdscript/getEmbedData.md)
- [$getMessage](./bdscript/getMessage.md)
- - [$isMessageEdited](./bdscript/isMessageEdited.md)
- [$ignoreLinks](./bdscript/ignoreLinks.md)
+ - [$isMentioned](./bdscript/isMentioned.md)
+ - [$isMessageEdited](./bdscript/isMessageEdited.md)
+ - [$mentioned](./bdscript/mentioned.md)
+ - [$mentionedChannels](./bdscript/mentionedChannels.md)
- [$message](./bdscript/message.md)
- [$message[]](./bdscript/messageComplex.md)
+ - [$messageEditedTimestamp](./bdscript/messageEditedTimestamp.md)
- [$messageID](./bdscript/messageID.md)
+ - [$noMentionMessage](./bdscript/noMentionMessage.md)
+ - [$noMentionMessage[]](./bdscript/noMentionMessageComplex.md)
- [$pinMessage](./bdscript/pinMessage.md)
- [$pinMessage[]](./bdscript/pinMessageComplex.md)
- [$publishMessage](./bdscript/publishMessage.md)
+ - [$removeContains](./bdscript/removeContains.md)
+ - [$removeLinks](./bdscript/removeLinks.md)
+ - [$removeLinks[]](./bdscript/removeLinksComplex.md)
+ - [$repliedMessageID](./bdscript/repliedMessageID.md)
+ - [$repliedMessageID[]](./bdscript/repliedMessageIDComplex.md)
- [$reply](./bdscript/reply.md)
- [$reply[]](./bdscript/replyComplex.md)
- [$replyIn](./bdscript/replyIn.md)
- - [$repliedMessageID](./bdscript/repliedMessageID.md)
- - [$repliedMessageID[]](./bdscript/repliedMessageIDComplex.md)
- - [$removeLinks](./bdscript/removeLinks.md)
- - [$removeLinks[]](./bdscript/removeLinksComplex.md)
- - [$noMentionMessage](./bdscript/noMentionMessage.md)
- - [$noMentionMessage[]](./bdscript/noMentionMessageComplex.md)
- [$sendEmbedMessage](./bdscript/sendEmbedMessage.md)
- [$sendMessage](./bdscript/sendMessage.md)
- - [$unpinMessage](./bdscript/unpinMessage.md)
- - [$useChannel](./bdscript/useChannel.md)
- [$tts](./bdscript/tts.md)
+ - [$unpinMessage](./bdscript/unpinMessage.md)
- [$url](./bdscript/url.md)
- - [Variables]()
+ - [$useChannel](./bdscript/useChannel.md)
+ - [Variable]()
+ - [$enabled](./bdscript/enabled.md)
- [$getChannelVar](./bdscript/getChannelVar.md)
- [$getLeaderboardPosition](./bdscript/getLeaderboardPosition.md)
- [$getLeaderboardValue](./bdscript/getLeaderboardValue.md)
@@ -430,7 +432,6 @@
- [$getUserVar](./bdscript/getUserVar.md)
- [$getVar](./bdscript/getVar.md)
- [$globalUserLeaderboard](./bdscript/globalUserLeaderboard.md)
- - [$listVar](./bdscript/listVar.md)
- [$resetChannelVar](./bdscript/resetChannelVar.md)
- [$resetServerVar](./bdscript/resetServerVar.md)
- [$resetUserVar](./bdscript/resetUserVar.md)
@@ -453,21 +454,22 @@
- [$threadUserCount](./bdscript/threadUserCount.md)
- [Emojis & Reactions]()
- [$addCmdReactions](./bdscript/addCmdReactions.md)
+ - [$addEmoji](./bdscript/addEmoji.md)
- [$addMessageReactions](./bdscript/addMessageReactions.md)
- [$addReactions](./bdscript/addReactions.md)
- [$clearReactions](./bdscript/clearReactions.md)
- - [$getReactions](./bdscript/getReactions.md)
- - [$userReacted](./bdscript/userReacted.md)
- - [$addEmoji](./bdscript/addEmoji.md)
- [$customEmoji](./bdscript/customEmoji.md)
- [$emoteCount](./bdscript/emoteCount.md)
- [$emojiExists](./bdscript/emojiExists.md)
- [$emojiName](./bdscript/emojiName.md)
+ - [$getReactions](./bdscript/getReactions.md)
- [$isEmojiAnimated](./bdscript/isEmojiAnimated.md)
- [$removeEmoji](./bdscript/removeEmoji.md)
+ - [$userReacted](./bdscript/userReacted.md)
- [Webhooks]()
- [$webhookAvatarURL](./bdscript/webhookAvatarURL.md)
- [$webhookColor](./bdscript/webhookColor.md)
+ - [$webhookContent](./bdscript/webhookContent.md)
- [$webhookCreate](./bdscript/webhookCreate.md)
- [$webhookDelete](./bdscript/webhookDelete.md)
- [$webhookDescription](./bdscript/webhookDescription.md)
@@ -475,16 +477,15 @@
- [$webhookSend](./bdscript/webhookSend.md)
- [$webhookTitle](./bdscript/webhookTitle.md)
- [$webhookUsername](./bdscript/webhookUsername.md)
- - [$webhookContent](./bdscript/webhookContent.md)
- [Error Handling]()
- [$catch](./bdscript/catch.md)
+ - [$embedSuppressErrors](./bdscript/embedSuppressErrors.md)
- [$endtry](./bdscript/endtry.md)
- [$error](./bdscript/error.md)
+ - [$stop](./bdscript/stop.md)
- [$suppressErrors](./bdscript/suppressErrors.md)
- [$suppressErrors[]](./bdscript/suppressErrorsComplex.md)
- [$try](./bdscript/try.md)
- - [$stop](./bdscript/stop.md)
- - [$embedSuppressErrors](./bdscript/embedSuppressErrors.md)
- [Permissions]()
- [$checkUserPerms](./bdscript/checkUserPerms.md)
- [$ignoreChannels](./bdscript/ignoreChannels.md)
@@ -529,10 +530,6 @@
- [$reaction](./premium/reaction.md)
- [Functions]()
- [$ai](./premium/ai.md)
- - [$aiDecide](./premium/aiDecide.md)
- - [$aiWithCtx](./premium/aiWithCtx.md)
- - [$aiDecideWithCtx](./premium/aiDecideWithCtx.md)
- - [$aiAgent](./premium/aiAgent.md)
- [$aiQuota](./premium/aiQuota.md)
- [$awaitReactions](./premium/awaitReactions.md)
- [$customImage](./premium/customImage.md)
diff --git a/src/bdscript/addContainer.md b/src/bdscript/addContainer.md
index a822dcf1313..0733de922f0 100644
--- a/src/bdscript/addContainer.md
+++ b/src/bdscript/addContainer.md
@@ -31,6 +31,7 @@ You can't have multiple containers and [sections](./addSection.md) **with the sa
## Container Components
- [`$addTextDisplay[]`](./addTextDisplay.md)
- [`$addSeparator[]`](./addSeparator.md)
+- [`$addMediaGallery[]`](./addMediaGallery.md)
## Example
```
diff --git a/src/bdscript/addMediaGallery.md b/src/bdscript/addMediaGallery.md
new file mode 100644
index 00000000000..12765657ca7
--- /dev/null
+++ b/src/bdscript/addMediaGallery.md
@@ -0,0 +1,26 @@
+# $addMediaGallery
+
+ Components v2
+
+
+Adds a media gallery to the message.
+
+## Syntax
+```
+$addMediaGallery[Gallery name;(Container name)]
+```
+
+### Parameters
+- `Gallery name` `(Type: String || Flag: Required)`: Name for attaching pictures to the gallery.
+- `Container name` `(Type: String || Flag: Optional)`: To which [container body](./addContainer.md) should the gallery be attached.
+
+## Example
+```
+$nomention
+$addMediaGallery[pictures]
+$addMediaGalleryItem[$authorAvatar;;;pictures]
+```
+
+```admonish question title="What is this?"
+How [`$addMediaGalleryItem[]`](./addMediaGalleryItem.md) and [`$authorAvatar`](./authorAvatar.md) works?
+```
\ No newline at end of file
diff --git a/src/bdscript/addMediaGalleryItem.md b/src/bdscript/addMediaGalleryItem.md
new file mode 100644
index 00000000000..549a8d0db8f
--- /dev/null
+++ b/src/bdscript/addMediaGalleryItem.md
@@ -0,0 +1,32 @@
+# $addMediaGalleryItem
+
+ Components v2
+
+
+Adds a media to the gallery.
+
+## Syntax
+```
+$addMediaGalleryItem[Media URL;Description;Spoiler?;Gallery name]
+```
+
+```admonish warning title="Limit"
+You can add up to 10 media items to a gallery.
+```
+
+### Parameters
+- `Media URL` `(Type: URL || Flag: Required)`: URL of the media (image or video).
+- `Description` `(Type: String || Flag: Emptiable)`: Alt text for the media item.
+- `Spoiler?` `(Type: Bool || Flag: Emptiable)`: Will the media have a spoiler effect?
+- `Gallery name` `(Type: String || Flag: Required)`: Name of the media gallery to add item to.
+
+## Example
+```
+$nomention
+$addMediaGallery[pictures]
+$addMediaGalleryItem[$authorAvatar;;;pictures]
+```
+
+```admonish question title="What is this?"
+How [`$addMediaGallery[]`](./addMediaGallery.md) and [`$authorAvatar`](./authorAvatar.md) works?
+```
\ No newline at end of file
diff --git a/src/bdscript/alternativeParsing.md b/src/bdscript/alternativeParsing.md
index eb9dd2bd664..683ff2a8a60 100644
--- a/src/bdscript/alternativeParsing.md
+++ b/src/bdscript/alternativeParsing.md
@@ -16,11 +16,11 @@ Changes the way how triggers are read.
## Syntax
```
$alternativeParsing
-```
-
+```
+
```admonish fail
This function was added at the end of 2019 as an experiment, and it can be unstable and break your commands. You should not use `$alternativeParsing` when making your bot.
-```
+```
## Example
1. Create two commands and set the trigger `hello` for one command and `helloworld` for the other.
@@ -39,61 +39,61 @@ This function was added at the end of 2019 as an experiment, and it can be unsta
```
3. Execute commands.
``` discord yaml
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
hello
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content:
embed:
description: "\"hello\""
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
helloworld
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content:
embed:
description: "\"helloworld\""
-```
-
-~~~admonish example
+```
+
+~~~admonish example
- Without `$alternativeParsing`:
``` discord yaml
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
hello
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content:
embed:
description: "\"hello\""
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
helloworld
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content:
@@ -101,5 +101,5 @@ This function was added at the end of 2019 as an experiment, and it can be unsta
- description: "\"helloworld\""
- description: "\"hello\""
```
-
+
~~~
\ No newline at end of file
diff --git a/src/bdscript/awaitFunc.md b/src/bdscript/awaitFunc.md
index 694ca7c7f67..b93034b13a0 100644
--- a/src/bdscript/awaitFunc.md
+++ b/src/bdscript/awaitFunc.md
@@ -19,14 +19,14 @@ $awaitFunc[say]
```
``` discord yaml
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
- !example
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+ !example 566363823137882154
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content: |
@@ -34,5 +34,5 @@ $awaitFunc[say]
```
```admonish info title="Read more"
-For more information, read the [Awaited Commands Guide](../guides/general/awaitedCommands.md).
+For more information, read the [Awaited Commands Guide](../guides/general/awaitedCommands.md).
```
diff --git a/src/bdscript/boostCount.md b/src/bdscript/boostCount.md
index 69ac345847a..0229d930376 100644
--- a/src/bdscript/boostCount.md
+++ b/src/bdscript/boostCount.md
@@ -13,6 +13,18 @@ This server currently has $boostCount boost(s).
```
```discord yaml
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
+ content: |
+ !example
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
+ bot: true
+ verified: true
+ content: |
+ This server currently has 11 boost(s).
- type: boost
content: |
RainbowKey just boosted the server!
diff --git a/src/bdscript/boostCountComplex.md b/src/bdscript/boostCountComplex.md
index 1c2fb5fa848..a0909985a6e 100644
--- a/src/bdscript/boostCountComplex.md
+++ b/src/bdscript/boostCountComplex.md
@@ -12,13 +12,10 @@ $boostCount[Guild ID]
## Example
```
$nomention
-This server currently has $boostCount[$message] boost(s).
+Boosts: $boostCount[$message]
```
```discord yaml
-- type: boost
- content: |
- RainbowKey just boosted the server!
- user_id: 803569638084313098
username: RainbowKey
color: "#E67E22"
@@ -30,5 +27,9 @@ This server currently has $boostCount[$message] boost(s).
bot: true
verified: true
content: |
- This server currently has 38 boost(s).
+ Boosts: 38
+```
+
+```admonish question title="What is this?"
+How [`$message`](./message.md) works?
```
diff --git a/src/bdscript/botID.md b/src/bdscript/botID.md
index 5a8055edde3..886a744e962 100644
--- a/src/bdscript/botID.md
+++ b/src/bdscript/botID.md
@@ -9,7 +9,7 @@ $botID
## Example
```
$nomention
-My ID is: $botID
+My ID: $botID
```
```discord yaml
diff --git a/src/bdscript/botOwnerID.md b/src/bdscript/botOwnerID.md
index 7e4b0f3ea66..c70ceee235c 100644
--- a/src/bdscript/botOwnerID.md
+++ b/src/bdscript/botOwnerID.md
@@ -1,9 +1,9 @@
# $botOwnerID
Returns the bot owner's ID.
-
-```admonish warning
-Only works if you logged into the app via your Discord account. Otherwise, if you log in via your Google/Apple account or other methods, it will return ``.
-```
+
+```admonish warning
+Only works if you logged into the app via your Discord account. Otherwise, if you log in via your Google/Apple account or other methods, it will return ``.
+```
## Syntax
```
@@ -17,16 +17,16 @@ My owner's ID: $botOwnerID
```
``` discord yaml
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
- !example
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+ !example 566363823137882154
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content: |
- My owner's ID: 729343563401265193
+ My owner's ID: 803569638084313098
```
diff --git a/src/bdscript/c.md b/src/bdscript/c.md
index faa4600763b..33a4076b692 100644
--- a/src/bdscript/c.md
+++ b/src/bdscript/c.md
@@ -17,20 +17,20 @@ $c[This is a say command. You are reading a comment!]
```
``` discord yaml
-- user_id: 729343563401265193
- username: Nicky
- color: "#EE7908"
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
content: |
!example As you can see, the comment doesn't appear! Pretty cool; right?
-- user_id: 566613317972394004
- username: Wiki Bot
- color: "#748BD4"
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
bot: true
verified: true
content: |
As you can see, the comment doesn't appear! Pretty cool; right?
-```
-
-```admonish question title="What is this?"
-How [`$message`](./message.md) works?
+```
+
+```admonish question title="What is this?"
+How [`$message`](./message.md) works?
```
diff --git a/src/bdscript/channelIDFromName.md b/src/bdscript/channelIDFromName.md
index c2c75a1fbb4..312adac398c 100644
--- a/src/bdscript/channelIDFromName.md
+++ b/src/bdscript/channelIDFromName.md
@@ -3,10 +3,10 @@
Deprecated
-> This function is deprecated, instead better use [`$channelID[]`](./channelIDComplex.md).
-
Returns a channel's ID from its name.
+> This function is deprecated, instead better use [`$channelID[]`](./channelIDComplex.md).
+
## Syntax
```
$channelIDFromName[Channel name]
diff --git a/src/bdscript/clearReactions.md b/src/bdscript/clearReactions.md
index c144367b89a..a86fac3e6a5 100644
--- a/src/bdscript/clearReactions.md
+++ b/src/bdscript/clearReactions.md
@@ -47,3 +47,7 @@ $clearReactions[$channelID;$message;✅]
content: |
!example 1216863258708021248
```
+
+```admonish question title="What is this?"
+How [`$channelID`](./channelID.md) and [`$message`](./message.md) works?
+```
\ No newline at end of file
diff --git a/src/bdscript/commandFolder.md b/src/bdscript/commandFolder.md
index bbf14f36a8e..9c3138d47f3 100644
--- a/src/bdscript/commandFolder.md
+++ b/src/bdscript/commandFolder.md
@@ -17,7 +17,7 @@ Commmand folder: $commandFolder
username: RainbowKey
color: "#E67E22"
content: |
- !example Hello world!
+ !example
- username: BDFD Support
user_id: 1009018156494368798
color: "#378afa"
diff --git a/src/bdscript/commandName.md b/src/bdscript/commandName.md
index 0ea23ca099d..2ad247f1942 100644
--- a/src/bdscript/commandName.md
+++ b/src/bdscript/commandName.md
@@ -17,12 +17,12 @@ Commmand name: $commandName
username: RainbowKey
color: "#E67E22"
content: |
- !example Hello world!
+ !example
- username: BDFD Support
user_id: 1009018156494368798
color: "#378afa"
bot: true
verified: true
content: |
- Commmand name: !example
+ Commmand name: Examples
```
diff --git a/src/bdscript/commandTrigger.md b/src/bdscript/commandTrigger.md
index 8e9628c1e8a..bc004eca886 100644
--- a/src/bdscript/commandTrigger.md
+++ b/src/bdscript/commandTrigger.md
@@ -21,7 +21,7 @@ Commmand trigger: $commandTrigger
username: RainbowKey
color: "#E67E22"
content: |
- !example Hello world!
+ !example
- username: BDFD Support
user_id: 1009018156494368798
color: "#378afa"
diff --git a/src/bdscript/commandsCount.md b/src/bdscript/commandsCount.md
index 79a7d1a8d4f..dc110678cf9 100644
--- a/src/bdscript/commandsCount.md
+++ b/src/bdscript/commandsCount.md
@@ -17,9 +17,9 @@ I have $commandsCount commands!
username: RainbowKey
color: "#E67E22"
content: |
- !example
-- username: BDFD Support
- user_id: 1009018156494368798
+ !example 566363823137882154
+- user_id: 1009018156494368798
+ username: BDFD Support
color: "#378afa"
bot: true
verified: true
diff --git a/src/bdscript/customEmoji.md b/src/bdscript/customEmoji.md
index 49c31c241dc..1d45942485f 100644
--- a/src/bdscript/customEmoji.md
+++ b/src/bdscript/customEmoji.md
@@ -1,7 +1,7 @@
# $customEmoji
-Returns a custom emoji.
+Returns a custom emoji on the current server.
-```admonish danger title="Important"
+```admonish warning title="Important"
We recommend emoji IDs instead of `$customEmoji[]` **for public** bots.
```
@@ -16,7 +16,20 @@ $customEmoji[Emoji name]
## Example
```
$nomention
-Hello there! $customEmoji[Wave]
+Hello bdfd! $customEmoji[BDFD]
```
-
+``` discord yaml
+- user_id: 803569638084313098
+ username: RainbowKey
+ color: "#E67E22"
+ content: |
+ !example
+- user_id: 1009018156494368798
+ username: BDFD Support
+ color: "#378afa"
+ bot: true
+ verified: true
+ content: |
+ Hello bdfd!