Skip to content

Commit d138842

Browse files
committed
chore: tags
* add new approaches/methods * keyword format consistency * clarify interactive components
1 parent 49b75dc commit d138842

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

tags/tags.toml

Lines changed: 13 additions & 19 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, global custom avatar, or default avatar
154157
"""
155158

156159
[node-events]
@@ -349,10 +352,10 @@ content = """
349352
"""
350353

351354
[dev-tos]
352-
keywords = ["devtos", "developer-terms-of-service"]
355+
keywords = ["devtos", "developer-terms-of-service", "devpolicy"]
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]
@@ -556,7 +559,7 @@ https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=0
556559
- `CLIENT_ID` needs to be replaced with your bot id
557560
- Permission calculator: [learn more](https://finitereality.github.io/permissions-calculator)
558561
- `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)
562+
- You can use [`Client#generateInvite`](https://discord.js.org/docs/packages/discord.js/stable/Client:Class#generateInvite) instead
560563
"""
561564

562565
[version]
@@ -842,15 +845,6 @@ A request took longer than the specified [timeout](https://discord.js.org/docs/p
842845
- 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.
843846
"""
844847

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-
854848
[intents]
855849
keywords = ["no-members"]
856850
content = """
@@ -1068,9 +1062,9 @@ HTTP-only applications receive interactions through HTTP webhooks instead of the
10681062
"""
10691063

10701064
[interaction-buttons-in-webhooks]
1071-
keywords = ["no-button"]
1065+
keywords = ["no-button", "interactive-webhook"]
10721066
content = """
1073-
Only webhooks created by an application can send messages with components, so Discord knows which application to send the corresponding interactions to.
1067+
Only webhooks created by an application can send messages with interactive components, so Discord knows which application to send the corresponding interactions to.
10741068
- Creating webhooks with discord.js: [learn more](https://discordjs.guide/legacy/popular-topics/webhooks#creating-webhooks-with-discordjs)
10751069
"""
10761070

@@ -1228,7 +1222,7 @@ Either do not enable them if you do not need them, or include the command that w
12281222
"""
12291223

12301224
[fetchreply]
1231-
keywords = ["fetchReply-deprecated"]
1225+
keywords = ["fetchreply-deprecated"]
12321226
content = """
12331227
The `fetchReply` option when replying to an interaction will be removed in v15.
12341228
```diff

0 commit comments

Comments
 (0)