From 3ce51e02b1547094a348c847671c5b6eb8d0674d Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 3 Mar 2021 10:57:28 +0000 Subject: [PATCH] Update GitHub links --- .all-contributorsrc | 2 +- .github/CONTRIBUTING.md | 16 ++++++++-------- .github/ISSUE_TEMPLATE/config.yml | 2 +- README.md | 26 +++++++++++++------------- package.json | 6 +++--- src/updater.js | 4 ++-- 6 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index 527fbda..1314d88 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -2,5 +2,5 @@ "files": [ "CONTRIBUTORS.md" ], - "badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](https://github.com/eartharoid/DiscordTickets/blob/master/CONTRIBUTORS.md)" + "badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](https://github.com/discord-tickets/bot/blob/master/CONTRIBUTORS.md)" } \ No newline at end of file diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 4acf9cd..4c27b05 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -24,10 +24,10 @@ You don't need to write code to contribute; all contributions are welcome and en - [Improve documentation](#updating-documentation) (the [website](https://discordtickets.app), or JSDoc comments) - [Help translate](#translating) - Create a tutorial (a video or page on the docs) -- [Answer someone's question in Discussions](https://github.com/eartharoid/DiscordTickets/discussions/categories/support-q-a?discussions_q=category%3A%22Support+%28Q%26A%29%22+is%3Aunanswered) +- [Answer someone's question in Discussions](https://github.com/discord-tickets/bot/discussions/categories/support-q-a?discussions_q=category%3A%22Support+%28Q%26A%29%22+is%3Aunanswered) - Respond to an issue or pull request -If you want to contribute but don't know how, and this file doesn't answer your questions, [start a discussion](https://github.com/eartharoid/DiscordTickets/discussions/new) or [join the Discord support & community server](https://go.eartharoid.me/discord) to ask for guidance. +If you want to contribute but don't know how, and this file doesn't answer your questions, [start a discussion](https://github.com/discord-tickets/bot/discussions/new) or [join the Discord support & community server](https://go.eartharoid.me/discord) to ask for guidance. **Issues are for:** @@ -42,21 +42,21 @@ Please label your issues appropriately. - General questions (also on [Discord](https://go.eartharoid.me/discord)) - Requesting new features -Please read ["Welcome to DiscordTickets Discussions!"](https://github.com/eartharoid/DiscordTickets/discussions/77) before starting a discussion! +Please read ["Welcome to DiscordTickets Discussions!"](https://github.com/discord-tickets/bot/discussions/77) before starting a discussion! ## Submitting a bug report -Issues should be used to report bugs. If you have found a bug, check to see if it has already been reported or resolved. If it hasn't, you can [create a new issue](https://github.com/eartharoid/DiscordTickets/issues/new/choose) using the "Bug report" template. Please include as much information as possible in your report. +Issues should be used to report bugs. If you have found a bug, check to see if it has already been reported or resolved. If it hasn't, you can [create a new issue](https://github.com/discord-tickets/bot/issues/new/choose) using the "Bug report" template. Please include as much information as possible in your report. ## Submitting a feature request -To request a new feature, [start a new discussion](https://github.com/eartharoid/DiscordTickets/discussions/new?category=Ideas) under the Ideas category so other members of the community can discuss the request and vote on it. +To request a new feature, [start a new discussion](https://github.com/discord-tickets/bot/discussions/new?category=Ideas) under the Ideas category so other members of the community can discuss the request and vote on it. -If you would like to request changes to an existing feature, it may be better to [create an issue](https://github.com/eartharoid/DiscordTickets/issues/new) instead (use the `enhancement` label). +If you would like to request changes to an existing feature, it may be better to [create an issue](https://github.com/discord-tickets/bot/issues/new) instead (use the `enhancement` label). ## Creating a pull request -To edit the documentation, translate, or contribute code to this project, you will need to [create a new pull request](https://github.com/eartharoid/DiscordTickets/compare). For large changes, you should **consider creating an issue** (or commenting on an existing one) first, as it could save you some time. +To edit the documentation, translate, or contribute code to this project, you will need to [create a new pull request](https://github.com/discord-tickets/bot/compare). For large changes, you should **consider creating an issue** (or commenting on an existing one) first, as it could save you some time. You should name your commits using [**this commit message format**](https://github.com/angular/material/blob/master/.github/CONTRIBUTING.md#-commit-message-format). @@ -75,7 +75,7 @@ You should install the ESLint extension in your editor help you follow the code Please try to keep the meaning of the translation as close to the original as possible. -1. Copy [`en-GB.json`](https://github.com/eartharoid/DiscordTickets/blob/master/src/locales/en-GB.json) and name it correctly +1. Copy [`en-GB.json`](https://github.com/discord-tickets/bot/blob/master/src/locales/en-GB.json) and name it correctly 2. Without modifying the keys (left side of the colon), translate the values (on the right side of the colon). 3. [Create a pull request](#creating-a-pull-request) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7bdb592..d49c812 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: true contact_links: - name: GitHub Discussions - url: https://github.com/eartharoid/DiscordTickets/discussions + url: https://github.com/discord-tickets/bot/discussions about: Request new features, share ideas and guides, ask for help, or just talk. - name: Discord support server url: https://go.eartharoid.me/discord diff --git a/README.md b/README.md index 12925b7..b0e6819 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ # [DiscordTickets](https://discordtickets.app) -[![GitHub stars](https://img.shields.io/github/stars/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/stargazers) -[![License](https://img.shields.io/github/license/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/blob/master/LICENSE) +[![GitHub stars](https://img.shields.io/github/stars/discord-tickets/bot?style=flat-square)](https://github.com/discord-tickets/bot/stargazers) +[![GitHub forks](https://img.shields.io/github/forks/discord-tickets/bot?style=flat-square)](https://github.com/discord-tickets/bot/stargazers) +[![License](https://img.shields.io/github/license/discord-tickets/bot?style=flat-square)](https://github.com/discord-tickets/bot/blob/master/LICENSE) ![Codacy grade](https://img.shields.io/codacy/grade/14e6851c85444424b75b8bc3f93e93db?logo=codacy&style=flat-square) [![Discord](https://img.shields.io/discord/451745464480432129?label=discord&color=7289DA&style=flat-square)](https://discord.gg/pXc9vyC) @@ -15,10 +15,10 @@ An open-source ticket management bot for Discord - a free alternative to the pre

⚠️ -**The code on the master branch is for v3 which is not ready. Please go to the [v2 branch](https://github.com/eartharoid/DiscordTickets/tree/v2) for the current version of the code and [documentation](https://github.com/eartharoid/DiscordTickets/wiki)**. +**The code on the master branch is for v3 which is not ready. Please go to the [v2 branch](https://github.com/discord-tickets/bot/tree/v2) for the current version of the code and [documentation](https://github.com/discord-tickets/bot/wiki)**. ⚠️ -**The following information is about v3. Please read the README file on the [v2 branch](https://github.com/eartharoid/DiscordTickets/tree/v2) for information that is about the current version.** +**The following information is about v3. Please read the README file on the [v2 branch](https://github.com/discord-tickets/bot/tree/v2) for information that is about the current version.** ## What is this? @@ -34,7 +34,7 @@ DiscordTickets is packed full of features, many of which were suggested by its u - Create a plugin for it, if you can code JavaScript - Request someone else to make a plugin -- [Submit a feature request](https://github.com/eartharoid/DiscordTickets/blob/master/.github/CONTRIBUTING.md#submitting-a-feature-request) if you think many other users would benefit from it +- [Submit a feature request](https://github.com/discord-tickets/bot/blob/master/.github/CONTRIBUTING.md#submitting-a-feature-request) if you think many other users would benefit from it Here's some of the things that makes DiscordTickets awesome: @@ -43,17 +43,17 @@ Some messages can be configured for each server and for each ticket category. Ev You can also configure the functionality of the bot to your liking and add commands with plugins. 2. **Localisable** -If the bot hasn't already been translated to your (community's) language, you can [translate](https://github.com/eartharoid/DiscordTickets/blob/master/.github/CONTRIBUTING.md#translating) it yourself. +If the bot hasn't already been translated to your (community's) language, you can [translate](https://github.com/discord-tickets/bot/blob/master/.github/CONTRIBUTING.md#translating) it yourself. Plugin authors are encouraged to support multiple languages as well. 3. **Multiple ticket categories** Each ticket category has its own settings for messages and the support team roles. There's also multiple methods of creating a ticket. 4. **A beautiful ticket archives portal** -Add the official [DiscordTickets-Portal](https://github.com/eartharoid/DiscordTickets-Portal) plugin for an instant ticket archives website. +Add the official [DiscordTickets-Portal](https://github.com/discord-tickets/portal) plugin for an instant ticket archives website. 5. **Plugin support** -Developers can add a lot of functionality to DiscordTickets without modifying the source code by creating plugins. Plugins can listen for client and ticket events, create commands, and more. [DiscordTickets-Portal](https://github.com/eartharoid/DiscordTickets-Portal) is an example of what can be done with plugins. +Developers can add a lot of functionality to DiscordTickets without modifying the source code by creating plugins. Plugins can listen for client and ticket events, create commands, and more. [DiscordTickets-Portal](https://github.com/discord-tickets/portal) is an example of what can be done with plugins. 6. **Open-source and self-hosted** It's yours. @@ -81,13 +81,13 @@ You will find most of information you need at [discordtickets.app](https://disco ## Support -If the [documentation](https://discordtickets.app) leaves you with questions, you can ask for help in the [discussions](https://github.com/eartharoid/DiscordTickets/discussions/categories/support-q-a) or join the support server on Discord. +If the [documentation](https://discordtickets.app) leaves you with questions, you can ask for help in the [discussions](https://github.com/discord-tickets/bot/discussions/categories/support-q-a) or join the support server on Discord. [![Discord](https://discordapp.com/api/guilds/451745464480432129/widget.png?style=banner4)](https://go.eartharoid.me/discord) ## Contributing -For contributing instructions, or to find out all of the ways you can contribute, read [CONTRIBUTING.md](https://github.com/eartharoid/DiscordTickets/blob/master/.github/CONTRIBUTING.md). All contributions are welcome and encouraged, but please [read the information](https://github.com/eartharoid/DiscordTickets/blob/master/.github/CONTRIBUTING.md) given before doing so. +For contributing instructions, or to find out all of the ways you can contribute, read [CONTRIBUTING.md](https://github.com/discord-tickets/bot/blob/master/.github/CONTRIBUTING.md). All contributions are welcome and encouraged, but please [read the information](https://github.com/discord-tickets/bot/blob/master/.github/CONTRIBUTING.md) given before doing so. ## Contributors @@ -102,7 +102,7 @@ Thank you to everyone to has contributed to DiscordTickets, including everyone w - Created a public plugin - Created resources such as tutorials -**A full list of contributors can be found in [CONTRIBUTORS.md](https://github.com/eartharoid/DiscordTickets/blob/master/CONTRIBUTORS.md).** +**A full list of contributors can be found in [CONTRIBUTORS.md](https://github.com/discord-tickets/bot/blob/master/CONTRIBUTORS.md).** ## Sponsors @@ -114,7 +114,7 @@ Does your community or company use DiscordTickets? Sponsor the project to get yo ## License -DiscordTickets is licensed under the [GPLv3 license](https://github.com/eartharoid/DiscordTickets/blob/master/LICENSE). +DiscordTickets is licensed under the [GPLv3 license](https://github.com/discord-tickets/bot/blob/master/LICENSE). DiscordTickets is not related to Discord Inc. diff --git a/package.json b/package.json index cb7b5df..af79cab 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/eartharoid/DiscordTickets.git" + "url": "git+https://github.com/discord-tickets/bot.git" }, "keywords": [ "discord", @@ -23,10 +23,10 @@ "author": "eartharoid", "license": "GPL-3.0", "bugs": { - "url": "https://github.com/eartharoid/DiscordTickets/issues" + "url": "https://github.com/discord-tickets/bot/issues" }, "homepage": "https://discordtickets.app", - "funding": "https://github.com/eartharoid/DiscordTickets/?sponsor=1", + "funding": "https://github.com/discord-tickets/bot/?sponsor=1", "dependencies": { "@eartharoid/i18n": "^0.0.1", "boxen": "^5.0.0", diff --git a/src/updater.js b/src/updater.js index bf45f00..78fa2b0 100644 --- a/src/updater.js +++ b/src/updater.js @@ -7,7 +7,7 @@ let { version: current } = require('../package.json'); module.exports = async client => { if (!client.config.update_notice) return; - const json = await (await fetch('https://api.github.com/repos/eartharoid/DiscordTickets/releases')).json(); + const json = await (await fetch('https://api.github.com/repos/discord-tickets/bot/releases')).json(); const update = json[0]; let latest = semver.coerce(update.tag_name); @@ -20,7 +20,7 @@ module.exports = async client => { let notice = []; notice.push(`&6You are currently using &c${current}&6, the latest is &a${update.tag_name}&6.`); notice.push(`&6Download "&f${update.name}&6" from`); - notice.push(link('&6the GitHub releases page', 'https://github.com/eartharoid/DiscordTickets/releases/')); + notice.push(link('&6the GitHub releases page', 'https://github.com/discord-tickets/bot/releases/')); console.log( boxen(client.log.f(notice.join('\n')), {