Skip to content

Commit a5abff4

Browse files
Andre601caneleexMinnDevelopment
authored
Use GitHub issue forms (discord-jda#1546)
Co-authored-by: caneleex <[email protected]> Co-authored-by: Florian Spieß <[email protected]>
1 parent 403d129 commit a5abff4

File tree

6 files changed

+107
-152
lines changed

6 files changed

+107
-152
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug_report.md

-67
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/bug_report.yml

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Bug Report
2+
description: Found a Bug that needs to be fixed?
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |-
7+
Please join the [Discord Server](https://discord.gg/0hMr4ce0tIl3SLv5) for questions or ask them in [our Discussions](https://github.com/DV8FromTheWorld/JDA/discussions).
8+
9+
Keep in mind that this isn't the place to learn Java.
10+
Please head over to [StackOverflow](https://stackoverflow.com/questions/tagged/java) for your general programming questions.
11+
- type: checkboxes
12+
attributes:
13+
label: General Troubleshooting
14+
description: You confirm to have made the following checks first.
15+
options:
16+
- label: I have checked for similar issues on the Issue-tracker.
17+
required: true
18+
- label: I have updated to the [latest JDA version](https://ci.dv8tion.net/job/JDA/lastSuccessfulBuild/)
19+
required: true
20+
- label: I have checked the branches or the maintainers' PRs for upcoming bug fixes.
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: "Expected Behaviour"
25+
description: "What did you expect JDA to do?"
26+
placeholder: "JDA should do ..."
27+
validations:
28+
required: true
29+
- type: textarea
30+
attributes:
31+
label: "Code Example for Reproduction Steps"
32+
description: |-
33+
Please add the code you use to reproduce this problem.
34+
Make sure to remove or replace any sensitive data like your Bot's token.
35+
Leave this empty or put "N/A" if you don't have a reproducible setup.
36+
37+
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
38+
render: java
39+
placeholder: |-
40+
public void causeError() {
41+
throw new Exception("Error!");
42+
}
43+
validations:
44+
required: true
45+
- type: textarea
46+
attributes:
47+
label: "Code for JDABuilder or DefaultShardManagerBuilder used"
48+
description: |-
49+
Please provide the code used to create your JDA or ShardManager instance.
50+
Make sure to remove or replace any sensitive data like your Bot's token.
51+
52+
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
53+
render: java
54+
placeholder: 'JDA jda = JDABuilder.createDefault("token").build();'
55+
validations:
56+
required: true
57+
- type: textarea
58+
attributes:
59+
label: "Exception or Error"
60+
description: |-
61+
Share any Exception or Error you encountered.
62+
Make sure to put it into a code block for better formatting.
63+
Leave this blank or put "N/A" if you don't have an Exception or Error.
64+
65+
The provided text will be rendered as code, so you don't have to provide a Code block for it.
66+
render: yesyes # Unknown code-names = no highlighting.
67+
placeholder: "java.lang.NullPointerException: null"

Diff for: .github/ISSUE_TEMPLATE/config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ contact_links:
1515
- name: Releases
1616
url: https://github.com/DV8FromTheWorld/JDA/releases
1717
about: You can find the latest releases here on GitHub and on Bintray.
18+
- name: Questions
19+
url: https://github.com/DV8FromTheWorld/JDA/discussions
20+
about: You can ask questions about JDA and find useful information in our Discussions.

Diff for: .github/ISSUE_TEMPLATE/feature_request.md

-43
This file was deleted.

Diff for: .github/ISSUE_TEMPLATE/feature_request.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Feature Request
2+
description: Request a new feature
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |-
7+
Please join the [Discord Server](https://discord.gg/0hMr4ce0tIl3SLv5) for questions or ask them in [our Discussions](https://github.com/DV8FromTheWorld/JDA/discussions).
8+
9+
Keep in mind that this isn't the place to learn Java.
10+
Please head over to [StackOverflow](https://stackoverflow.com/questions/tagged/java) for your general programming questions.
11+
- type: checkboxes
12+
attributes:
13+
label: General Troubleshooting
14+
description: You confirm to have made the following checks first.
15+
options:
16+
- label: I have checked for similar issues on the Issue-tracker.
17+
required: true
18+
- label: I have updated to the [latest JDA version](https://ci.dv8tion.net/job/JDA/lastSuccessfulBuild/)
19+
required: true
20+
- label: I have checked the branches or the maintainers' PRs for upcoming features.
21+
required: true
22+
- type: textarea
23+
attributes:
24+
label: "Feature Request"
25+
description: "Provide a small description of the feature you want to have added."
26+
placeholder: "JDA should get ..."
27+
validations:
28+
required: true
29+
- type: textarea
30+
attributes:
31+
label: "Example Use-Case"
32+
description: |-
33+
Provide some code or describe a possible use-case for this feature.
34+
35+
The provided text will be rendered as Java code, so you don't have to provide a Code block for it.
36+
placeholder: "public void newAwesomeMethod(){}"
37+
render: java

Diff for: .github/ISSUE_TEMPLATE/question.md

-42
This file was deleted.

0 commit comments

Comments
 (0)