[skip ci] Fix GitHub

This commit is contained in:
Xujiayao 2026-03-15 00:13:11 +08:00
parent 8f38cf8067
commit acdc7b67c9
5 changed files with 233 additions and 0 deletions

143
.github/ISSUE_TEMPLATE/bug.yml vendored Normal file
View file

@ -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

14
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View file

@ -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.

24
.github/ISSUE_TEMPLATE/enhancement.yml vendored Normal file
View file

@ -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

24
.github/ISSUE_TEMPLATE/question.yml vendored Normal file
View file

@ -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

28
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View file

@ -0,0 +1,28 @@
<!-- New Feature or Bug Fix Pull Request -->
<!-- Implement an idea for this project or implement a bug fix to help us improve. -->
<!---->
<!-- Insert "[Enhancement] " or "[Bug] " before the first word in the title. -->
<!-- Note that the PR may be closed directly if you do not follow the instructions. -->
### Checks
<!-- Please check that you have done the following things before submitting a pull request. -->
<!-- Set [ ] to [X] -->
- [ ] 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
<!-- Any GitHub issues related to this PR? If not, please fill in N/A. -->
<!-- Example: Fixes #ISSUE-NUMBER -->
### Description
<!-- For Bug Fix Pull Request: -->
<!-- Please tell us what bug have you fixed with a clear and detailed description, add screenshots to help explain. -->
<!---->
<!-- For New Feature Pull Request: -->
<!-- What new feature or change have you added? 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. -->