Update GitHub links

This commit is contained in:
Isaac 2021-03-03 10:57:28 +00:00
parent ea8caaa149
commit 3ce51e02b1
6 changed files with 28 additions and 28 deletions

View File

@ -2,5 +2,5 @@
"files": [ "files": [
"CONTRIBUTORS.md" "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)"
} }

View File

@ -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) - [Improve documentation](#updating-documentation) (the [website](https://discordtickets.app), or JSDoc comments)
- [Help translate](#translating) - [Help translate](#translating)
- Create a tutorial (a video or page on the docs) - 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 - 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:** **Issues are for:**
@ -42,21 +42,21 @@ Please label your issues appropriately.
- General questions (also on [Discord](https://go.eartharoid.me/discord)) - General questions (also on [Discord](https://go.eartharoid.me/discord))
- Requesting new features - 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 ## 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 ## 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 ## 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). 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. 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). 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) 3. [Create a pull request](#creating-a-pull-request)

View File

@ -1,7 +1,7 @@
blank_issues_enabled: true blank_issues_enabled: true
contact_links: contact_links:
- name: GitHub Discussions - 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. about: Request new features, share ideas and guides, ask for help, or just talk.
- name: Discord support server - name: Discord support server
url: https://go.eartharoid.me/discord url: https://go.eartharoid.me/discord

View File

@ -4,9 +4,9 @@
<!-- omit in toc --> <!-- omit in toc -->
# [DiscordTickets](https://discordtickets.app) # [DiscordTickets](https://discordtickets.app)
[![GitHub stars](https://img.shields.io/github/stars/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/stargazers) [![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/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/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/eartharoid/DiscordTickets?style=flat-square)](https://github.com/eartharoid/DiscordTickets/blob/master/LICENSE) [![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) ![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) [![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
<br><br> <br><br>
⚠️ ⚠️
**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? ## 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 - Create a plugin for it, if you can code JavaScript
- Request someone else to make a plugin - 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: 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. You can also configure the functionality of the bot to your liking and add commands with plugins.
2. **Localisable** 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. Plugin authors are encouraged to support multiple languages as well.
3. **Multiple ticket categories** 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. 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** 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** 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** 6. **Open-source and self-hosted**
It's yours. It's yours.
@ -81,13 +81,13 @@ You will find most of information you need at [discordtickets.app](https://disco
## Support ## 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) [![Discord](https://discordapp.com/api/guilds/451745464480432129/widget.png?style=banner4)](https://go.eartharoid.me/discord)
## Contributing ## 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 ## Contributors
@ -102,7 +102,7 @@ Thank you to everyone to has contributed to DiscordTickets, including everyone w
- Created a public plugin - Created a public plugin
- Created resources such as tutorials - 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 ## Sponsors
@ -114,7 +114,7 @@ Does your community or company use DiscordTickets? Sponsor the project to get yo
## License ## 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. DiscordTickets is not related to Discord Inc.

View File

@ -13,7 +13,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/eartharoid/DiscordTickets.git" "url": "git+https://github.com/discord-tickets/bot.git"
}, },
"keywords": [ "keywords": [
"discord", "discord",
@ -23,10 +23,10 @@
"author": "eartharoid", "author": "eartharoid",
"license": "GPL-3.0", "license": "GPL-3.0",
"bugs": { "bugs": {
"url": "https://github.com/eartharoid/DiscordTickets/issues" "url": "https://github.com/discord-tickets/bot/issues"
}, },
"homepage": "https://discordtickets.app", "homepage": "https://discordtickets.app",
"funding": "https://github.com/eartharoid/DiscordTickets/?sponsor=1", "funding": "https://github.com/discord-tickets/bot/?sponsor=1",
"dependencies": { "dependencies": {
"@eartharoid/i18n": "^0.0.1", "@eartharoid/i18n": "^0.0.1",
"boxen": "^5.0.0", "boxen": "^5.0.0",

View File

@ -7,7 +7,7 @@ let { version: current } = require('../package.json');
module.exports = async client => { module.exports = async client => {
if (!client.config.update_notice) return; 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]; const update = json[0];
let latest = semver.coerce(update.tag_name); let latest = semver.coerce(update.tag_name);
@ -20,7 +20,7 @@ module.exports = async client => {
let notice = []; let notice = [];
notice.push(`&6You are currently using &c${current}&6, the latest is &a${update.tag_name}&6.`); 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(`&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( console.log(
boxen(client.log.f(notice.join('\n')), { boxen(client.log.f(notice.join('\n')), {