Updated some small things and edited README and some issue templates
This commit is contained in:
52
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
52
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@@ -1,13 +1,6 @@
|
||||
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/discord-jda/JDA/discussions).
|
||||
|
||||
Keep in mind that this isn't the place to learn Java.
|
||||
Please head over to [Stack Overflow](https://stackoverflow.com/questions/tagged/java) for your general programming questions.
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: General Troubleshooting
|
||||
@@ -17,50 +10,19 @@ body:
|
||||
required: true
|
||||
- label: I have checked for PRs that might already address this issue.
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
label: "Version of JDA"
|
||||
description: |
|
||||
Please let us know, which specific version of JDA you used.
|
||||
If your version is outdated, maybe try updating and see if that already fixes your problem.
|
||||
You can see the latest version in the [Releases](https://github.com/discord-jda/JDA/releases).
|
||||
To find out your version, you can add `System.out.println(JDAInfo.VERSION);` in your code.
|
||||
placeholder: "For example 5.0.0-beta.7"
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Expected Behaviour"
|
||||
description: "What did you expect JDA to do?"
|
||||
placeholder: "JDA should do ..."
|
||||
description: "What did you expect the program to do?"
|
||||
placeholder: "Webserver should do ..."
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: "Code Example for Reproduction Steps"
|
||||
label: "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.
|
||||
Please add the steps you use to reproduce this problem.
|
||||
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
|
||||
@@ -68,8 +30,4 @@ body:
|
||||
label: "Exception or Error"
|
||||
description: |-
|
||||
Share any Exception or Error you encountered.
|
||||
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"
|
||||
Leave this blank or put "N/A" if you don't have an Exception or Error.
|
||||
Reference in New Issue
Block a user