From 3c18964068bf55a62eeb41a73a59d0ca00b37084 Mon Sep 17 00:00:00 2001 From: Armano den Boef <68127614+Rozen4334@users.noreply.github.com> Date: Thu, 3 Feb 2022 20:30:46 +0100 Subject: [PATCH] Create bugreport.yml Grabbed from Discord.Net-Labs, original by @CottageDwellingCat --- .github/ISSUE_TEMPLATE/bugreport.yml | 73 ++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bugreport.yml diff --git a/.github/ISSUE_TEMPLATE/bugreport.yml b/.github/ISSUE_TEMPLATE/bugreport.yml new file mode 100644 index 000000000..2b12404de --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bugreport.yml @@ -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