Skip to content

Commit 941931f

Browse files
authored
Merge pull request #213 from botblock/feature/add-issue-forms
Add Issue Forms
2 parents 9397fa7 + 5dba704 commit 941931f

File tree

4 files changed

+132
-65
lines changed

4 files changed

+132
-65
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
name: Bug Report
2+
description: Found a Bug about JavaBotBlockAPI? Use this template to report it!
3+
labels: "Type: Bug (Unconfirmed)"
4+
issue_body: false
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |-
9+
**BEFORE YOU OPEN THIS BUG REPORT!**
10+
11+
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.
12+
- type: checkboxes
13+
attributes:
14+
label: Confirmation
15+
description: Please make sure to have followed these checks.
16+
options:
17+
- label: My issue isn't already found on the Issue tracker.
18+
required: true
19+
- label: My issue is about **JavaBotBlockAPI** and not any other library or BotBlock.org itself.
20+
required: true
21+
- label: I use the latest available version.
22+
required: true
23+
- type: dropdown
24+
attributes:
25+
label: "Modules"
26+
description: |-
27+
What modules are you currently using?
28+
29+
Currently available:
30+
- `Core`
31+
- `Javacord`
32+
- `JDA`
33+
- `Request`
34+
multiple: true
35+
options:
36+
- "Core"
37+
- "Javacord"
38+
- "JDA"
39+
- "Request"
40+
validations:
41+
required: true
42+
- type: textarea
43+
attributes:
44+
label: "What happens?"
45+
description: "What bug are you encountering? Try to explain it as detailed as possible."
46+
placeholder: "JavaBotBlockAPI does this when I do that..."
47+
validations:
48+
required: true
49+
- type: textarea
50+
attributes:
51+
label: "Expected Behaviour"
52+
description: "What behaviour did you expect from JavaBotBlockAPI?"
53+
placeholder: "JavaBotBlockAPI should actually do..."
54+
validations:
55+
required: true
56+
- type: textarea
57+
attributes:
58+
label: "How to Reproduce"
59+
description: |-
60+
List the steps on how to reproduce this Bug.
61+
Make sure to also show any code-examples in `Code` to reproduce this bug.
62+
placeholder: |-
63+
1. Do this
64+
2. ...
65+
3. Profit!
66+
validations:
67+
required: true
68+
- type: textarea
69+
attributes:
70+
label: "Code"
71+
description: |-
72+
Put your code here.
73+
This code needs to be able to reproduce the bug consistently!
74+
placeholder: |-
75+
```java
76+
public void error(){
77+
throw new Exception("ERROR");
78+
}
79+
```
80+
validations:
81+
required: true
82+
- type: input
83+
attributes:
84+
label: "Errors"
85+
description: |-
86+
Use a hastebin or pastebin site to share errors, stacktraces and similar.
87+
We recommend to use https://paste.gg
88+
placeholder: "https://paste.gg/p/anonymous/..."
89+
validations:
90+
required: true

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Feature Request
2+
description: Suggest a new Feature for JavaBotBlockAPI
3+
labels: 'Type: Enhancement'
4+
issue_body: false
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |-
9+
Thank you for taking the time in creating this Feature Request.
10+
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.
11+
- type: checkboxes
12+
attributes:
13+
label: Confirmation
14+
description: Please make sure to have followed these checks.
15+
options:
16+
- label: I checked the Issues and Pull request tab for any existing issues or PRs.
17+
required: true
18+
- label: My Feature Request is for **JavaBotBlockAPI** and not any external library or BotBlock.org itself.
19+
required: true
20+
- type: textarea
21+
attributes:
22+
label: "Description"
23+
description: |-
24+
Give a detailed explanation about your Feature request and why it would be beneficial for JavaBotBlockAPI.
25+
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.
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: "Code Example"
31+
description: |-
32+
Do you have any Code Snippets that you want to share with us?
33+
Remember to use Code blocks for smaller snippets and https://paste.gg for larger ones.
34+
placeholder: |-
35+
```java
36+
public boolean method(){ return true; }
37+
```
38+
- type: textarea
39+
attributes:
40+
label: "Additional Information"
41+
description: "Add any extra info you think is nessesary for this Feature request."
42+
placeholder: "Put any extra info you like into this field..."

0 commit comments

Comments
 (0)