Skip to content

Commit 780c460

Browse files
committed
fix: remove locales
1 parent 0a4a9e7 commit 780c460

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tags/tags.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ content = """
198198
const channel = client.channels.cache.get("222086648706498562");
199199
const channel = guild.channels.cache.find(channel => channel.name === "general");
200200
```
201-
- Caches in discord.js are [Collections](https://discord.js.org/docs/packages/collection/stable) which extend the native [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
201+
- Caches in discord.js are [Collections](https://discord.js.org/docs/packages/collection/stable) which extend the native [Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
202202
- [learn more](https://discordjs.guide/additional-info/collections.html)
203203
"""
204204

@@ -364,7 +364,7 @@ Explaining `<Class>` and `Class#method` notation: [learn more](https://discordjs
364364
[collection]
365365
keywords = ["collections", "collection-methods"]
366366
content = """
367-
discord.js uses [Collection](https://discord.js.org/docs/packages/collection/stable), an extension of the JS native [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
367+
discord.js uses [Collection](https://discord.js.org/docs/packages/collection/stable), an extension of the JS native [Map](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map) structure.
368368
- Guide: [learn more](https://discordjs.guide/additional-info/collections.html) [🍪](https://gist.github.com/almostSouji/71a33e5f8e84a0960b4ed3a1609915f5)
369369
"""
370370
hoisted = true
@@ -383,7 +383,7 @@ keywords = ["undici", "node-fetch", "http-requests", "call-rest-apis"]
383383
content = """
384384
Making HTTP requests (for example to call rest APIs)
385385
- Node: [learn more](https://www.npmjs.com/package/undici)
386-
- MDN: [learn more](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API)
386+
- MDN: [learn more](https://developer.mozilla.org/docs/Web/API/Fetch_API)
387387
"""
388388

389389
[opus]
@@ -397,8 +397,8 @@ content = """
397397
[undefined]
398398
keywords = ["not-defined", "of-null", "of-undefined", "ofnull", "ofundefined"]
399399
content = """
400-
- `ReferenceError: "x" is not defined`: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_defined)
401-
- `TypeError: Cannot read properties of undefined/null (reading "x")`: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cant_access_property)
400+
- `ReferenceError: "x" is not defined`: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Not_defined)
401+
- `TypeError: Cannot read properties of undefined/null (reading "x")`: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/Cant_access_property)
402402
"""
403403
hoisted = true
404404

@@ -429,7 +429,7 @@ Your bot is trying to send a DM to a user, but failed to do so:
429429
- The user has DMs disabled or the bot blocked
430430
- The user no longer shares a guild with the bot (make sure to send informational DMs before banning/kicking)
431431
- The bot is trying to DM itself or another bot
432-
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)
432+
Note: You cannot check if you can send a DM beforehand but have to handle the [rejection case](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/try...catch)
433433
"""
434434

435435
[path]
@@ -518,7 +518,7 @@ keywords = ["massdm", "dmall", "dmal-all"]
518518
content = """
519519
Mass DMing users is not allowed as per developer ToS, considered spam and can get you and your bot banned.
520520
- Mention `@everyone` to inform all your users at once instead
521-
- Discord Developer Terms of Service: [learn more](https://support-dev.discord.com/hc/en-us/articles/8562894815383)
521+
- Discord Developer Terms of Service: [learn more](https://support-dev.discord.com/hc/articles/8562894815383)
522522
"""
523523

524524
[codeblock]
@@ -593,7 +593,7 @@ keywords = [
593593
]
594594
content = """
595595
Resources to understand Promise:
596-
- MDN: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises)
596+
- MDN: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Using_promises)
597597
- Guide: [learn more](https://discordjs.guide/additional-info/async-await.html)
598598
- JavaScript info: [learn more](https://javascript.info/async-await)
599599
"""
@@ -629,7 +629,7 @@ x = 1; // assigning a value to x
629629
'1' == 1 // true
630630
'1' === 1 // false
631631
```
632-
- Equality and sameness in JavaScript: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Equality_comparisons_and_sameness)
632+
- Equality and sameness in JavaScript: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Equality_comparisons_and_sameness)
633633
"""
634634

635635
[timers]
@@ -672,7 +672,7 @@ Checking for things to not be equal in JavaScript:
672672
- if (!yourVariable === yourOtherVariable) // !yourVariable is coerced to a boolean value
673673
+ if (yourVariable !== yourOtherVariable) // checks that one is not equal to the other
674674
```
675-
- Comparison operators in JavaScript: [learn more](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Expressions_and_Operators#Comparison)
675+
- Comparison operators in JavaScript: [learn more](https://developer.mozilla.org/docs/Web/JavaScript/Guide/Expressions_and_Operators#Comparison)
676676
"""
677677

678678
[member-user]
@@ -870,9 +870,9 @@ keywords = ["cta", "collection-to-array"]
870870
content = """
871871
**Converting a Collection to an array**
872872
You only need to convert it to an array if you need the index of an entry:
873-
- Iteration (looping) is possible with [`for...of`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of#iterating_over_a_map) over [`Collection#values`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/values) or [`forEach`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/forEach)
873+
- Iteration (looping) is possible with [`for...of`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/for...of#iterating_over_a_map) over [`Collection#values`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map/values) or [`forEach`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map/forEach)
874874
- You can transform a Collection to an array with [`Collection#map`](https://discord.js.org/docs/packages/collection/stable/Collection:Class#map)
875-
- If you need indices, you can get the array using [`[...collection.values()]`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/values)
875+
- If you need indices, you can get the array using [`[...collection.values()]`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map/values)
876876
"""
877877

878878
[member-count]
@@ -924,7 +924,7 @@ Like what we do and want to put some money behind it? Donate to discord.js and r
924924
- [OpenCollective](https://opencollective.com/discordjs): Use </claim-sponsor:1046604458991300619> and provide your OC slug *(Settings > Info > URL slug)*
925925
- [GitHub Sponsors](https://github.com/sponsors/discordjs):
926926
**1)** Create a private [gist](https://gist.github.com/)
927-
**2)** Include your [Discord user ID](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-) (`348607796335607817`)
927+
**2)** Include your [Discord user ID](https://support.discord.com/hc/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-) (`348607796335607817`)
928928
**3)** Include your Transaction id or screenshot of the donation
929929
**4)** Send the link to the gist to <@81440962496172032> (`crawl`) via direct message
930930
"""
@@ -1217,7 +1217,7 @@ The `ephemeral` option when replying to an interaction will be removed in v15
12171217
```diff
12181218
- {..., ephemeral: true}
12191219
+ {..., flags: MessageFlags.Ephemeral}
1220-
``` Read [here](<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_OR>) on how to specify multiple flags
1220+
``` Read [here](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Bitwise_OR>) on how to specify multiple flags
12211221
"""
12221222

12231223
[entry-point]

0 commit comments

Comments
 (0)