Skip to content

Commit

Permalink
Use GitHub issue forms (#1546)
Browse files Browse the repository at this point in the history
Co-authored-by: caneleex <git@mlnr.dev>
Co-authored-by: Florian Spieß <business@minn.dev>
  • Loading branch information
3 people committed Apr 25, 2022
1 parent 403d129 commit a5abff4
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 152 deletions.
67 changes: 0 additions & 67 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

67 changes: 67 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,67 @@
name: Bug Report
description: Found a Bug that needs to be fixed?
body:
- type: markdown
attributes:
value: |-
Please join the [Discord Server](https://discord.gg/0hMr4ce0tIl3SLv5) for questions or ask them in [our Discussions](https://github.com/DV8FromTheWorld/JDA/discussions).
Keep in mind that this isn't the place to learn Java.
Please head over to [StackOverflow](https://stackoverflow.com/questions/tagged/java) for your general programming questions.
- type: checkboxes
attributes:
label: General Troubleshooting
description: You confirm to have made the following checks first.
options:
- label: I have checked for similar issues on the Issue-tracker.
required: true
- label: I have updated to the [latest JDA version](https://ci.dv8tion.net/job/JDA/lastSuccessfulBuild/)
required: true
- label: I have checked the branches or the maintainers' PRs for upcoming bug fixes.
required: true
- type: textarea
attributes:
label: "Expected Behaviour"
description: "What did you expect JDA to do?"
placeholder: "JDA should do ..."
validations:
required: true
- type: textarea
attributes:
label: "Code Example for Reproduction Steps"
description: |-
Please add the code you use to reproduce this problem.
Make sure to remove or replace any sensitive data like your Bot's token.
Leave this empty or put "N/A" if you don't have a reproducible setup.
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
render: java
placeholder: |-
public void causeError() {
throw new Exception("Error!");
}
validations:
required: true
- type: textarea
attributes:
label: "Code for JDABuilder or DefaultShardManagerBuilder used"
description: |-
Please provide the code used to create your JDA or ShardManager instance.
Make sure to remove or replace any sensitive data like your Bot's token.
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
render: java
placeholder: 'JDA jda = JDABuilder.createDefault("token").build();'
validations:
required: true
- type: textarea
attributes:
label: "Exception or Error"
description: |-
Share any Exception or Error you encountered.
Make sure to put it into a code block for better formatting.
Leave this blank or put "N/A" if you don't have an Exception or Error.
The provided text will be rendered as code, so you don't have to provide a Code block for it.
render: yesyes # Unknown code-names = no highlighting.
placeholder: "java.lang.NullPointerException: null"
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Expand Up @@ -15,3 +15,6 @@ contact_links:
- name: Releases
url: https://github.com/DV8FromTheWorld/JDA/releases
about: You can find the latest releases here on GitHub and on Bintray.
- name: Questions
url: https://github.com/DV8FromTheWorld/JDA/discussions
about: You can ask questions about JDA and find useful information in our Discussions.
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

37 changes: 37 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,37 @@
name: Feature Request
description: Request a new feature
body:
- type: markdown
attributes:
value: |-
Please join the [Discord Server](https://discord.gg/0hMr4ce0tIl3SLv5) for questions or ask them in [our Discussions](https://github.com/DV8FromTheWorld/JDA/discussions).
Keep in mind that this isn't the place to learn Java.
Please head over to [StackOverflow](https://stackoverflow.com/questions/tagged/java) for your general programming questions.
- type: checkboxes
attributes:
label: General Troubleshooting
description: You confirm to have made the following checks first.
options:
- label: I have checked for similar issues on the Issue-tracker.
required: true
- label: I have updated to the [latest JDA version](https://ci.dv8tion.net/job/JDA/lastSuccessfulBuild/)
required: true
- label: I have checked the branches or the maintainers' PRs for upcoming features.
required: true
- type: textarea
attributes:
label: "Feature Request"
description: "Provide a small description of the feature you want to have added."
placeholder: "JDA should get ..."
validations:
required: true
- type: textarea
attributes:
label: "Example Use-Case"
description: |-
Provide some code or describe a possible use-case for this feature.
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
placeholder: "public void newAwesomeMethod(){}"
render: java
42 changes: 0 additions & 42 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

0 comments on commit a5abff4

Please sign in to comment.