Skip to content

Commit f5ee839

Browse files
committed
docs: appease the now holy markdown linter
Signed-off-by: Luca Zeuch <[email protected]>
1 parent a6f7313 commit f5ee839

File tree

3 files changed

+124
-124
lines changed

3 files changed

+124
-124
lines changed

content/docs/reference/custom-commands-limits.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ Various limits in YAGPDB custom commands (CC) for smooth functioning of the bot
3939

4040
- **Max file size (complexMessage):** 100kB
4141
- **joinStr max string length:** 1000kB
42-
- **sendDM:** 1 call per CC -> counter key "send\_dm"
43-
- **sendTemplate/sendTemplateDM:** 3 calls per CC -> counter key "exec\_child"
44-
- **addReactions:** 20 calls per CC -> counter key "add\_reaction\_trigger". Each reaction added counts towards the
42+
- **sendDM:** 1 call per CC -> counter key "send_dm"
43+
- **sendTemplate/sendTemplateDM:** 3 calls per CC -> counter key "exec_child"
44+
- **addReactions:** 20 calls per CC -> counter key "add_reaction_trigger". Each reaction added counts towards the
4545
limit.
46-
- **addResponseReactions:** 20 calls per CC -> counter key "add\_reaction\_response". Each reaction added counts towards
46+
- **addResponseReactions:** 20 calls per CC -> counter key "add_reaction_response". Each reaction added counts towards
4747
the limit.
48-
- **addMessageReactions:** 20 calls per CC -> counter key "add\_reaction\_message". Each reaction added counts towards
48+
- **addMessageReactions:** 20 calls per CC -> counter key "add_reaction_message". Each reaction added counts towards
4949
the limit.
50-
- **deleteMessageReaction: 1**0 calls per CC -> counter key "del\_reaction\_message". Each removed added counts towards
50+
- **deleteMessageReaction: 1**0 calls per CC -> counter key "del_reaction_message". Each removed added counts towards
5151
the limit.
52-
- **editChannelName/Topic:** 10 calls per CC -> counter key "edit\_channel"
52+
- **editChannelName/Topic:** 10 calls per CC -> counter key "edit_channel"
5353
- **regex cache limit:** 10 (this means you cant have more than 10 different regexes on a CC)
54-
- **onlineCount:** 1 call per cc -> counter key "online\_users"
55-
- **onlineCountBots:** 1 call per cc -> counter key "online\_bots"
56-
- **editNickname:** 2 calls per cc -> counter key "edit\_nick"
54+
- **onlineCount:** 1 call per cc -> counter key "online_users"
55+
- **onlineCountBots:** 1 call per cc -> counter key "online_bots"
56+
- **editNickname:** 2 calls per cc -> counter key "edit_nick"
5757
- **Append/AppendSlice limit:** 10k size limit of resulting slice
5858
- **exec/execAdmin:** 5 calls per cc -> no key
5959
- **deleteResponse/deleteMessage/deleteTrigger max delay:** 86400s
@@ -71,21 +71,21 @@ Various limits in YAGPDB custom commands (CC) for smooth functioning of the bot
7171

7272
### Database Interactions
7373

74-
- **Calls per CC:** 10/50 (free/prem) -> counter key "db\_interactions"
74+
- **Calls per CC:** 10/50 (free/prem) -> counter key "db_interactions"
7575
- Valid for all database commands ->
76-
- dbDel/dbDelByID
77-
- dbGet
78-
- dbIncr
79-
- dbSet/dbSetExpire
76+
- dbDel/dbDelByID
77+
- dbGet
78+
- dbIncr
79+
- dbSet/dbSetExpire
8080

8181
### Database Multiple Entry Interactions
8282

83-
Multiple entries all count to general "db\_interactions" limit as well.
83+
Multiple entries all count to general "db_interactions" limit as well.
8484

85-
- **Calls per CC:** 2/10 (free/prem) -> counter key "db\_multiple"
85+
- **Calls per CC:** 2/10 (free/prem) -> counter key "db_multiple"
8686
- Valid for all database multiple entry related commands ->
87-
- dbCount
88-
- dbDelMultiple
89-
- dbGetPattern
90-
- dbRank
91-
- dbTopEntries
87+
- dbCount
88+
- dbDelMultiple
89+
- dbGetPattern
90+
- dbRank
91+
- dbTopEntries

content/docs/reference/custom-interactions.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -663,12 +663,12 @@ well.
663663
Possible initial responses:
664664

665665
- Output text in your script response field. This text will be sent as an interaction response.
666-
- You can even use the `ephemeralResponse` function to turn it _ephemeral_.
666+
- You can even use the `ephemeralResponse` function to turn it _ephemeral_.
667667
- Use the `sendResponse` function to send a response as soon as the function runs.
668-
- You can also use this to send `embeds` or `complexMessages`.
669-
- You'll need to send a `complexMessage` and pass it `"ephemeral" true` as an argument to send _ephemeral_ messages.
670-
- `sendResponse` comes in `NoEscape` and `RetID` variants too.
671-
- When sending an initial response, `sendResponse` does not need an interaction token, `nil` can be used.
668+
- You can also use this to send `embeds` or `complexMessages`.
669+
- You'll need to send a `complexMessage` and pass it `"ephemeral" true` as an argument to send _ephemeral_ messages.
670+
- `sendResponse` comes in `NoEscape` and `RetID` variants too.
671+
- When sending an initial response, `sendResponse` does not need an interaction token, `nil` can be used.
672672
- Use the `sendModal` function to show the user a modal. You cannot respond to a user submitting a modal by sending them
673673
another modal.
674674
- Use the `updateMessage` function to edit the message the command triggered from. This works the same way as editing a
@@ -686,24 +686,24 @@ interaction token of the interaction they should be following up on.
686686
Possible followups:
687687

688688
- Output text in your script response field. This text will be sent as an interaction followup.
689-
- You can even use the `ephemeralResponse` function to turn it _ephemeral_.
689+
- You can even use the `ephemeralResponse` function to turn it _ephemeral_.
690690
- Use the `sendResponse` function to send a followup as soon as the function runs. Note that this function morphs into
691691
sending followups if an initial response has already been made.
692-
- You can also use this to send `embeds` or `complexMessages`.
693-
- `sendResponse` comes in `NoEscape` and `RetID` variants too.
694-
- It's important to capture the message ID of any
695-
followups you'll want to edit or retrieve later, especially if you follow up ephemerally. If you follow up
696-
ephemerally without saving the message ID, you'll never be able to interface with that message again.
692+
- You can also use this to send `embeds` or `complexMessages`.
693+
- `sendResponse` comes in `NoEscape` and `RetID` variants too.
694+
- It's important to capture the message ID of any
695+
followups you'll want to edit or retrieve later, especially if you follow up ephemerally. If you follow up
696+
ephemerally without saving the message ID, you'll never be able to interface with that message again.
697697
- Use the `editResponse` function to edit an initial response or a followup message.
698-
- When editing an initial response, the `messageID` argument should be `nil`.
699-
- When editing a followup message, the `messageID` argument is required.
700-
- You can still edit any initial responses or followups using the standard `editMessage` function as long as they
701-
aren't _ephemeral_.
698+
- When editing an initial response, the `messageID` argument should be `nil`.
699+
- When editing a followup message, the `messageID` argument is required.
700+
- You can still edit any initial responses or followups using the standard `editMessage` function as long as they
701+
aren't _ephemeral_.
702702
- Use the `getResponse` function to get an initial response or a followup message.
703-
- When getting an initial response, the `messageID` argument should be `nil`.
704-
- When getting a followup message, the `messageID` argument is required.
705-
- You can still get any initial responses or followups using the standard `getMessage` function as long as they
706-
aren't _ephemeral_.
703+
- When getting an initial response, the `messageID` argument should be `nil`.
704+
- When getting a followup message, the `messageID` argument is required.
705+
- You can still get any initial responses or followups using the standard `getMessage` function as long as they
706+
aren't _ephemeral_.
707707

708708
[Interaction Function documentation](/docs/reference/templates/functions#interactions)
709709

0 commit comments

Comments
 (0)