Browse Source

Create bugreport.yml

Grabbed from Discord.Net-Labs, original by @CottageDwellingCat
pull/2080/head
Armano den Boef GitHub 3 years ago
parent
commit
3c18964068
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 73 additions and 0 deletions
  1. +73
    -0
      .github/ISSUE_TEMPLATE/bugreport.yml

+ 73
- 0
.github/ISSUE_TEMPLATE/bugreport.yml View File

@@ -0,0 +1,73 @@
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://labs.discordnet.dev/faq), [Documentation](https://labs.discordnet.dev/api/index.html),
and [Migration Guide](https://labs.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 dnet are you using?
placeholder: ex. 3.5.0-labs
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

Loading…
Cancel
Save