diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 9bbf9fe1d..2a222f752 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -10,8 +10,8 @@ is a great boon to your development process. To get ready to work on the codebase, please do the following: -1. Fork & clone the repository, and make sure you're on the **master** branch +1. Fork & clone the repository, and make sure you're on the **main** branch 2. Run `npm ci` 3. Code your heart out! 4. Run `npm test` to run ESLint and ensure any JSDoc changes are valid -5. [Submit a pull request](https://github.com/discordjs/discord.js/compare) (Make sure you follow the [conventional commit format](https://github.com/discordjs/discord.js-next/blob/master/.github/COMMIT_CONVENTION.md)) +5. [Submit a pull request](https://github.com/discordjs/discord.js/compare) (Make sure you follow the [conventional commit format](https://github.com/discordjs/discord.js-next/blob/main/.github/COMMIT_CONVENTION.md)) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d49ec3dd7..e3e7476d3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -32,7 +32,7 @@ assignees: '' diff --git a/README.md b/README.md index 223472c63..7308eabeb 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ client.login('token'); ## Links - [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website)) -- [Documentation](https://discord.js.org/#/docs/main/master/general/welcome) +- [Documentation](https://discord.js.org/#/docs) - [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide)) See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library. - [Discord.js Discord server](https://discord.gg/djs) @@ -109,7 +109,7 @@ client.login('token'); Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the [documentation](https://discord.js.org/#/docs). -See [the contribution guide](https://github.com/discordjs/discord.js/blob/master/.github/CONTRIBUTING.md) if you'd like to submit a PR. +See [the contribution guide](https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR. ## Help diff --git a/src/client/Client.js b/src/client/Client.js index 3996c39bc..6c3b3b4e5 100644 --- a/src/client/Client.js +++ b/src/client/Client.js @@ -613,5 +613,5 @@ module.exports = Client; /** * @external Collection - * @see {@link https://discord.js.org/#/docs/collection/master/class/Collection} + * @see {@link https://discord.js.org/#/docs/collection/main/class/Collection} */ diff --git a/src/util/LimitedCollection.js b/src/util/LimitedCollection.js index 20b4d1fb6..5f850d89c 100644 --- a/src/util/LimitedCollection.js +++ b/src/util/LimitedCollection.js @@ -8,7 +8,7 @@ const { TypeError } = require('../errors/DJSError.js'); * @typedef {Function} SweepFilter * @param {LimitedCollection} collection The collection being swept * @returns {Function|null} Return `null` to skip sweeping, otherwise a function passed to `sweep()`, - * See {@link [Collection#sweep](https://discord.js.org/#/docs/collection/master/class/Collection?scrollTo=sweep)} + * See {@link [Collection#sweep](https://discord.js.org/#/docs/collection/main/class/Collection?scrollTo=sweep)} * for the definition of this function. */