Skip to content

Commit 0a672ad

Browse files
csmirquinchs
andauthored
Create bugreport.yml (#2080)
* Create bugreport.yml Grabbed from Discord.Net-Labs, original by @CottageDwellingCat * Append faq link Co-authored-by: Quin Lynch <[email protected]> * Append migration guide Co-authored-by: Quin Lynch <[email protected]> * Append version change Co-authored-by: Quin Lynch <[email protected]> * Append body Co-authored-by: Quin Lynch <[email protected]> * Fix 5/??? smh I was tired when I committed this and didnt bother making changes assuming it was already good :'') Co-authored-by: Quin Lynch <[email protected]> Co-authored-by: Quin Lynch <[email protected]>
1 parent 43b20bc commit 0a672ad

File tree

1 file changed

+77
-0
lines changed

1 file changed

+77
-0
lines changed

.github/ISSUE_TEMPLATE/bugreport.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: 🐞 Bug Report
2+
description: File a bug report
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: Thanks for taking the time to fill out this bug report!
9+
- type: checkboxes
10+
attributes:
11+
label: Check The Docs
12+
description: Please refer to our [FAQs](https://discordnet.dev/faq/basics/getting-started.html), [Documentation](https://discordnet.dev/api/index.html),
13+
and [Migration Guide](https://discordnet.dev/guides/v2_v3_guide/v2_to_v3_guide.html) before reporting issues.
14+
options:
15+
- label: "I double checked the docs and couldn't find any useful information."
16+
required: true
17+
- type: checkboxes
18+
attributes:
19+
label: Verify Issue Source
20+
description: If your issue is related to an exception make sure the error was thrown by Discord.Net, and not your code or another library.
21+
If you get an `HttpException` with the error code `401`, then the error is caused by your bot's permissions, not dnet.
22+
options:
23+
- label: I verified the issue was caused by Discord.Net.
24+
required: true
25+
- type: checkboxes
26+
attributes:
27+
label: Check your intents
28+
description: If your issue is related to not receiving expected events, you may have setup your gateway intents incorrectly.
29+
Newer versions of Discord.Net use a more modern version of Discord's API that requires you tell it what events
30+
you want to receive. Discord.Net defaults to all non-privleged intents, but if your bot requires privileged intents
31+
you need specify them in your clients config. You can see what intents you need for your events
32+
[here](https://discord.com/developers/docs/topics/gateway#list-of-intents).
33+
options:
34+
- label: I double checked that I have the required intents.
35+
required: true
36+
- type: textarea
37+
id: description
38+
attributes:
39+
label: Description
40+
description: A brief explination of the bug.
41+
placeholder: When I start a DiscordSocketClient without stopping it, the gateway thread gets blocked.
42+
validations:
43+
required: true
44+
- type: input
45+
id: version
46+
attributes:
47+
label: Version
48+
description: What version of Discord.Net are you using?
49+
placeholder: ex. 3.1.0
50+
validations:
51+
required: true
52+
- type: input
53+
id: working-version
54+
attributes:
55+
label: Working Version
56+
description: If this worked on an older version of Discord.Net put that version here.
57+
placeholder: ex. 2.4.0
58+
validations:
59+
required: false
60+
- type: textarea
61+
id: logs
62+
attributes:
63+
label: Logs
64+
description: Add applicable logs and/or a stacktrace here.
65+
validations:
66+
required: true
67+
- type: textarea
68+
id: sample
69+
attributes:
70+
label: Sample
71+
description: Include a (short) code sample that reproduces your issue 100% of time (comments would be great).
72+
placeholder: |
73+
```cs
74+
My.Code();
75+
```
76+
validations:
77+
required: false

0 commit comments

Comments
 (0)