Create bugreport.yml (#2080)
* Create bugreport.yml Grabbed from Discord.Net-Labs, original by @CottageDwellingCat * Append faq link Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com> * Append migration guide Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com> * Append version change Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com> * Append body Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com> * 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 <49576606+quinchs@users.noreply.github.com> Co-authored-by: Quin Lynch <49576606+quinchs@users.noreply.github.com>
This commit is contained in:
77
.github/ISSUE_TEMPLATE/bugreport.yml
vendored
Normal file
77
.github/ISSUE_TEMPLATE/bugreport.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
name: 🐞 Bug Report
|
||||
description: File a bug report
|
||||
title: "[Bug]: "
|
||||
labels: ["bug"]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Thanks for taking the time to fill out this bug report!
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Check The Docs
|
||||
description: Please refer to our [FAQs](https://discordnet.dev/faq/basics/getting-started.html), [Documentation](https://discordnet.dev/api/index.html),
|
||||
and [Migration Guide](https://discordnet.dev/guides/v2_v3_guide/v2_to_v3_guide.html) before reporting issues.
|
||||
options:
|
||||
- label: "I double checked the docs and couldn't find any useful information."
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Verify Issue Source
|
||||
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.
|
||||
If you get an `HttpException` with the error code `401`, then the error is caused by your bot's permissions, not dnet.
|
||||
options:
|
||||
- label: I verified the issue was caused by Discord.Net.
|
||||
required: true
|
||||
- type: checkboxes
|
||||
attributes:
|
||||
label: Check your intents
|
||||
description: If your issue is related to not receiving expected events, you may have setup your gateway intents incorrectly.
|
||||
Newer versions of Discord.Net use a more modern version of Discord's API that requires you tell it what events
|
||||
you want to receive. Discord.Net defaults to all non-privleged intents, but if your bot requires privileged intents
|
||||
you need specify them in your clients config. You can see what intents you need for your events
|
||||
[here](https://discord.com/developers/docs/topics/gateway#list-of-intents).
|
||||
options:
|
||||
- label: I double checked that I have the required intents.
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: A brief explination of the bug.
|
||||
placeholder: When I start a DiscordSocketClient without stopping it, the gateway thread gets blocked.
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Version
|
||||
description: What version of Discord.Net are you using?
|
||||
placeholder: ex. 3.1.0
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: working-version
|
||||
attributes:
|
||||
label: Working Version
|
||||
description: If this worked on an older version of Discord.Net put that version here.
|
||||
placeholder: ex. 2.4.0
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Logs
|
||||
description: Add applicable logs and/or a stacktrace here.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: sample
|
||||
attributes:
|
||||
label: Sample
|
||||
description: Include a (short) code sample that reproduces your issue 100% of time (comments would be great).
|
||||
placeholder: |
|
||||
```cs
|
||||
My.Code();
|
||||
```
|
||||
validations:
|
||||
required: false
|
||||
Reference in New Issue
Block a user