|
| 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" |
0 commit comments