Skip to content

Commit e7582ce

Browse files
committed
chore: tags
* augment with new approaches/information * keyword format consistency
1 parent 6eabb98 commit e7582ce

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

tags/tags.toml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ if (<message>.author.bot) return;
99
"""
1010

1111
[bot-about-me]
12-
keywords = ["bam"]
12+
keywords = ["bam", "bio", "about-me"]
1313
content = """
14-
To give your application an "About Me", head [here](https://discord.com/developers/applications), "Your Application" > "General Information" > "Description". The description supports full markdown as well (bold, underline, etc.).
15-
https://imgur.com/zqsWi2d.jpg
14+
To set the bio/"about me" section for your app:
15+
- Global (portal): [Developer Portal](https://discord.com/developers/applications), "Your Application" > "General Information" > "Description"
16+
- Global: [`ClientApplication#edit`](https://discord.js.org/docs/packages/discord.js/stable/ClientApplication:Class#edit) `description`
17+
- Per Guild: [`GuildMemberManager#editMe`](https://discord.js.org/docs/packages/discord.js/stable/GuildMemberManager:Class#editMe) `bio`
1618
"""
1719

1820
[api-docs]
@@ -151,6 +153,7 @@ content = """
151153
- `User#defaultAvatarURL` default avatar (clyde with colored background)
152154
- `User#displayAvatarURL()` global custom avatar or default avatar, if none
153155
- `GuildMember#avatarURL()` guild specific avatar, if set
156+
- `GuildMember#displayAvatarURL()` guild specific avatar or global custom avatar or default avatar, if none
154157
"""
155158

156159
[node-events]
@@ -225,7 +228,7 @@ content = """
225228
Found a bug in discord.js?
226229
- Please discuss your bug in support channels first, if you are unsure about it
227230
- Confirm the bug still happens after updating to the latest development release `npm i discord.js@dev`
228-
- [Open an issue on GitHub](https://github.com/discordjs/discord.js/issues/new/choose) and fill out the given template
231+
- [Open an issue on GitHub](https://github.com/discordjs/discord.js/issues/new/choose)
229232
"""
230233

231234
[logit]
@@ -351,8 +354,8 @@ content = """
351354
[dev-tos]
352355
keywords = ["devtos", "developer-terms-of-service"]
353356
content = """
354-
- Discord developer ToS: [learn more](https://discord.com/developers/docs/legal)
355-
- ToS Q&A summary: [learn more](https://gist.github.com/meew0/a3168b8fbb02d5a5456a06461b9e829e)
357+
- Discord developer ToS: [learn more](https://support-dev.discord.com/hc/en-us/articles/8562894815383)
358+
- Discord developer policy: [learn more](https://support-dev.discord.com/hc/en-us/articles/8563934450327)
356359
"""
357360

358361
[notation]
@@ -419,6 +422,7 @@ You can use markdown syntax to display clickable links without showing the url:
419422
"[text](url 'optional hovertext')"
420423
```
421424
- Embeds only support this in description and field values
425+
- Link text may not include emojis
422426
"""
423427

424428
[no-dm]
@@ -430,6 +434,7 @@ Your bot is trying to send a DM to a user, but failed to do so:
430434
- The user no longer shares a guild with the bot (make sure to send informational DMs before banning/kicking)
431435
- The bot is trying to DM itself or another bot
432436
Note: You cannot check if you can send a DM beforehand but have to handle the [rejection case](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch)
437+
Note: User-installed applications can always DM authorized users, regardless of shared servers or DM settings
433438
"""
434439

435440
[path]
@@ -556,7 +561,7 @@ https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=0
556561
- `CLIENT_ID` needs to be replaced with your bot id
557562
- Permission calculator: [learn more](https://finitereality.github.io/permissions-calculator)
558563
- `bot` scope includes `applications.commands`. If you don't need the bot, use `applications.commands` instead
559-
- You can use #generateInvite instead: [learn more](https://discord.js.org/docs/packages/discord.js/stable/Client:Class#generateInvite)
564+
- You can use [`Client#generateInvite`](https://discord.js.org/docs/packages/discord.js/stable/Client:Class#generateInvite) instead
560565
"""
561566

562567
[version]
@@ -842,15 +847,6 @@ A request took longer than the specified [timeout](https://discord.js.org/docs/p
842847
- In case of a slow connection, the `timeout` option in [RESTOptions](https://discord.js.org/docs/packages/rest/stable/RESTOptions:Interface#timeout) can be increased to prevent future AbortErrors.
843848
"""
844849

845-
[v14-changes]
846-
keywords = ["changes", "v14", "14"]
847-
content = """
848-
Version 14 has released! Please update at your earliest convenience.
849-
- Update: `npm rm discord.js` `npm i discord.js`
850-
- [Update guide](https://discordjs.guide/legacy/additional-info/changes-in-v14) (use `CTRL` + `F` to search for the old method or property)
851-
"""
852-
hoisted = true
853-
854850
[intents]
855851
keywords = ["no-members"]
856852
content = """
@@ -1070,7 +1066,7 @@ HTTP-only applications receive interactions through HTTP webhooks instead of the
10701066
[interaction-buttons-in-webhooks]
10711067
keywords = ["no-button"]
10721068
content = """
1073-
Only webhooks created by an application can send messages with components, so Discord knows which application to send the corresponding interactions to.
1069+
Only webhooks created by an application can send messages with interactive components, so Discord knows which application to send the corresponding interactions to.
10741070
- Creating webhooks with discord.js: [learn more](https://discordjs.guide/legacy/popular-topics/webhooks#creating-webhooks-with-discordjs)
10751071
"""
10761072

@@ -1177,6 +1173,7 @@ keywords = ["images-in-embed", "embed-tiles", "image-tiles"]
11771173
content = """
11781174
To get multiple images to display within one embed, use multiple embeds within the same message that use the same URL `.setURL(x)`/`url: x`.
11791175
*Note that this is meant for discord-side embeds and may break without notice.*
1176+
You are likely better off using the [Media Gallery message component](https://discordjs.guide/legacy/popular-topics/display-components#media-gallery) instead of embeds.
11801177
"""
11811178

11821179
[invite-tracker]
@@ -1228,7 +1225,7 @@ Either do not enable them if you do not need them, or include the command that w
12281225
"""
12291226

12301227
[fetchreply]
1231-
keywords = ["fetchReply-deprecated"]
1228+
keywords = ["fetchreply-deprecated"]
12321229
content = """
12331230
The `fetchReply` option when replying to an interaction will be removed in v15.
12341231
```diff

0 commit comments

Comments
 (0)