diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 5ee61bd6..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -name: Bug report -about: Found a bug? Report it with this template. -title: '' -labels: 'Type: Bug' -assignees: '' - ---- - -## Checks - - - -- [ ] You use the correct version of JavaBotBlockAPI for your Bot. -For JDA v3 you have to use Version 1.0.5 -- [ ] There is no other issue open with the same or similar bug reported. -- [ ] The bug isn't caused by any 3rd party library (f.e. JDA) or the BotBlock API itself. - -## Bug - - - - -## Steps to replicate - - -1. -2. -3. - -## Additional information - - -- **Used Modules**: `i.e. core, jda-module, request-module` -- **Java version**: `i.e. Java 8` diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..4ed61beb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,90 @@ +name: Bug Report +description: Found a Bug about JavaBotBlockAPI? Use this template to report it! +labels: "Type: Bug (Unconfirmed)" +issue_body: false +body: +- type: markdown + attributes: + value: |- + **BEFORE YOU OPEN THIS BUG REPORT!** + + In order to help you as good as possible with your issue will we ask you to fill out all required fields (Marked with a `*`) and to provide as much information as possible. +- type: checkboxes + attributes: + label: Confirmation + description: Please make sure to have followed these checks. + options: + - label: My issue isn't already found on the Issue tracker. + required: true + - label: My issue is about **JavaBotBlockAPI** and not any other library or BotBlock.org itself. + required: true + - label: I use the latest available version. + required: true +- type: dropdown + attributes: + label: "Modules" + description: |- + What modules are you currently using? + + Currently available: + - `Core` + - `Javacord` + - `JDA` + - `Request` + multiple: true + options: + - "Core" + - "Javacord" + - "JDA" + - "Request" + validations: + required: true +- type: textarea + attributes: + label: "What happens?" + description: "What bug are you encountering? Try to explain it as detailed as possible." + placeholder: "JavaBotBlockAPI does this when I do that..." + validations: + required: true +- type: textarea + attributes: + label: "Expected Behaviour" + description: "What behaviour did you expect from JavaBotBlockAPI?" + placeholder: "JavaBotBlockAPI should actually do..." + validations: + required: true +- type: textarea + attributes: + label: "How to Reproduce" + description: |- + List the steps on how to reproduce this Bug. + Make sure to also show any code-examples in `Code` to reproduce this bug. + placeholder: |- + 1. Do this + 2. ... + 3. Profit! + validations: + required: true +- type: textarea + attributes: + label: "Code" + description: |- + Put your code here. + This code needs to be able to reproduce the bug consistently! + placeholder: |- + ```java + public void error(){ + throw new Exception("ERROR"); + } + ``` + validations: + required: true +- type: input + attributes: + label: "Errors" + description: |- + Use a hastebin or pastebin site to share errors, stacktraces and similar. + We recommend to use https://paste.gg + placeholder: "https://paste.gg/p/anonymous/..." + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 8c9ba3ad..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -name: Feature request -about: Got an idea for the Wrapper? -title: '' -labels: 'Type: Enhancement' -assignees: '' - ---- - -## Checks - - - -- [ ] You use the correct version of JavaBotBlockAPI for your bot. -For JDA v3 you have to use Version 1.0.5. There won't be new features added to older versions! -- [ ] There is no other issue open with the same or similar Feature request, -- [ ] The feature isn't related to JDA or any other 3rd party library or the BotBlock API. - -## Feature Request - - - - -## Why adding this? - - - -## Additional information - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..3c175110 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: Feature Request +description: Suggest a new Feature for JavaBotBlockAPI +labels: 'Type: Enhancement' +issue_body: false +body: +- type: markdown + attributes: + value: |- + Thank you for taking the time in creating this Feature Request. + In order to process your feature request as fast and efficiently as possible do we ask you to fill out any required fields (Indicated with a `*`) with the requested information. +- type: checkboxes + attributes: + label: Confirmation + description: Please make sure to have followed these checks. + options: + - label: I checked the Issues and Pull request tab for any existing issues or PRs. + required: true + - label: My Feature Request is for **JavaBotBlockAPI** and not any external library or BotBlock.org itself. + required: true +- type: textarea + attributes: + label: "Description" + description: |- + Give a detailed explanation about your Feature request and why it would be beneficial for JavaBotBlockAPI. + Just saying "It's cool!" or "I need it" don't count as valid reasons. It needs to have a clear benefit for **other** users too. + validations: + required: true +- type: textarea + attributes: + label: "Code Example" + description: |- + Do you have any Code Snippets that you want to share with us? + Remember to use Code blocks for smaller snippets and https://paste.gg for larger ones. + placeholder: |- + ```java + public boolean method(){ return true; } + ``` +- type: textarea + attributes: + label: "Additional Information" + description: "Add any extra info you think is nessesary for this Feature request." + placeholder: "Put any extra info you like into this field..."