From acdc7b67c9c4598d6b96bfa938076ca28b197085 Mon Sep 17 00:00:00 2001 From: Xujiayao Date: Sun, 15 Mar 2026 00:13:11 +0800 Subject: [PATCH] [skip ci] Fix GitHub --- .github/ISSUE_TEMPLATE/bug.yml | 143 +++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 14 +++ .github/ISSUE_TEMPLATE/enhancement.yml | 24 +++++ .github/ISSUE_TEMPLATE/question.yml | 24 +++++ .github/PULL_REQUEST_TEMPLATE.md | 28 +++++ 5 files changed, 233 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/enhancement.yml create mode 100644 .github/ISSUE_TEMPLATE/question.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000..2d98d8d2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,143 @@ +name: Bug Report +description: Create a report to help us improve. +title: "[Bug] " +labels: [ "bug" ] +body: + - type: checkboxes + id: checks + attributes: + label: Checks + description: | + Please check that you have done the following things before submitting an issue. + options: + - label: I confirm that I have [searched for existing issues / pull requests](https://github.com/Xujiayao/Discord-MC-Chat/issues?q=) before reporting to avoid duplicate reporting. + required: true + - label: I confirm that I followed the [DMCC Docs](https://blog.xujiayao.com/posts/4ba0a17a/) and read the [Changelog](https://github.com/Xujiayao/Discord-MC-Chat/releases/latest), but this problem still exists. + required: true + - label: I confirm that I noted that if I don't follow the instructions, the issue may be closed directly. + required: true + - type: dropdown + id: minecraft_version + attributes: + label: Minecraft Version + description: | + The version of Minecraft you are using? + If a version is not listed below, it is not supported by DMCC. + multiple: false + options: + - "1.21.11" + - "1.21.10" + - "1.21.9" + - "1.21.8" + - "1.21.7" + - "1.21.6" + - "1.21.5" + - "1.21.4" + - "1.21.3" + - "1.21.2" + - "1.21.1" + - "1.21" + - "1.20.6" + - "1.20.5" + - "1.20.4" + - "1.20.3" + - "1.20.2" + - "1.20.1" + - "1.20" + - "1.19.4" + - "1.19.3" + - "1.19.2" + - "1.19.1" + - "1.19" + - "1.18.2" + - "1.18.1" + - "1.18" + - "1.17.1" + - "1.17" + - "1.16.5" + - "1.16.4" + - "1.15.2" + - "1.14.4" + validations: + required: true + - type: dropdown + id: discord_mc_chat_version + attributes: + label: Discord-MC-Chat Version + description: | + The version of Discord-MC-Chat you are using? + Only DMCC v2 versions are supported. + multiple: false + options: + - "Latest Build (GitHub Actions)" + - "2.7.1" + - "2.7.0" + - "2.6.0" + - "2.5.0" + - "2.4.1" + - "2.4.0" + - "2.3.5" + - "2.3.4" + - "2.3.4-compat" + - "2.3.3" + - "2.3.3-compat" + - "1.20.5-2.3.2" + - "2.3.2" + - "2.3.2-compat" + - "2.3.1" + - "2.3.1-compat" + - "2.3.0" + - "2.3.0-compat" + - "2.2.6" + - "2.2.5" + - "2.2.5-compat" + - "2.2.4" + - "2.2.3" + - "2.2.2" + - "2.2.1" + - "2.2.0" + - "1.20-2.1.4" + - "2.1.4" + - "2.1.3" + - "1.19.3-2.1.2" + - "1.19.2-2.1.2" + - "2.1.1" + - "2.1.0" + - "2.0.0" + validations: + required: true + - type: textarea + id: description + attributes: + label: Description + description: | + Please tell us what the bug is with a clear and detailed description, add screenshots to help explain. + validations: + required: true + - type: textarea + id: to_reproduce + attributes: + label: To Reproduce + description: | + How do you trigger this bug? Please walk us through it step by step. + validations: + required: true + - type: textarea + id: log + attributes: + label: Log + description: | + Please provide your FULL log (/log/latest.log file) here. + render: text + validations: + required: true + - type: textarea + id: config + attributes: + label: Config + description: | + Please provide your FULL Discord-MC-Chat config (/config/discord-mc-chat.json file) here. + Remember to REDACT the botToken! + render: json + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..b8d349a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +blank_issues_enabled: false +contact_links: + - name: Example Issue + url: https://github.com/Xujiayao/Discord-MC-Chat/issues/73 + about: You can refer to this example issue to fill in your issue. + - name: Discord-MC-Chat Docs + url: https://blog.xujiayao.com/posts/4ba0a17a/ + about: Make sure you follow the docs to configure Discord-MC-Chat! + - name: Latest Builds + url: https://github.com/Xujiayao/Discord-MC-Chat/actions + about: You can find the latest build JAR files at GitHub Actions. + - name: DMCC Discord Server + url: https://discord.gg/kbXkV6k2XU + about: You can ask me questions on the DMCC Discord Server. diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml new file mode 100644 index 00000000..815423c3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement.yml @@ -0,0 +1,24 @@ +name: Feature Request +description: Suggest an idea for this project. +title: "[Enhancement] " +labels: [ "enhancement" ] +body: + - type: checkboxes + id: checks + attributes: + label: Checks + description: | + Please check that you have done the following things before submitting an issue. + options: + - label: I confirm that I have [searched for existing issues / pull requests](https://github.com/Xujiayao/Discord-MC-Chat/issues?q=) before reporting to avoid duplicate reporting. + required: true + - label: I confirm that I noted that if I don't follow the instructions, the issue may be closed directly. + required: true + - type: textarea + id: description + attributes: + label: Description + description: | + What new feature or change do you want? What does it improve? Please tell us what the new feature or change is with a clear and detailed description, add screenshots to help explain if possible. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml new file mode 100644 index 00000000..c7605da3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -0,0 +1,24 @@ +name: Question +description: Anything you don't understand. +title: "[Question] " +labels: [ "question" ] +body: + - type: checkboxes + id: checks + attributes: + label: Checks + description: | + Please check that you have done the following things before submitting an issue. + options: + - label: I confirm that I have [searched for existing issues / pull requests](https://github.com/Xujiayao/Discord-MC-Chat/issues?q=) before reporting to avoid duplicate reporting. + required: true + - label: I confirm that I noted that if I don't follow the instructions, the issue may be closed directly. + required: true + - type: textarea + id: description + attributes: + label: Description + description: | + Please tell us what the question is with a clear and detailed description, add screenshots to help explain if possible. + validations: + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..e701141e --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,28 @@ + + + + + + +### Checks + + + + +- [ ] I confirm that I + have [searched for existing issues / pull requests](https://github.com/Xujiayao/Discord-MC-Chat/issues?q=) before + requesting to avoid duplicate requesting. +- [ ] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly. + +### Related Issues + + + + +### Description + + + + + +