From 82edc252e0b315134a482195553ca21ab8ec2890 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 2 Feb 2021 03:46:20 -0500 Subject: [PATCH] Switch issue templates to use the new issue forms alpha --- .github/ISSUE_TEMPLATE/bug_report.md | 39 ------------- .github/ISSUE_TEMPLATE/bug_report.yml | 67 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 27 --------- .github/ISSUE_TEMPLATE/feature_request.yml | 40 +++++++++++++ 4 files changed, 107 insertions(+), 66 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 8139c361d..000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -name: Bug Report -about: Report broken or incorrect behaviour -labels: bug ---- - -## Summary - - - -## Reproduction Steps - - - -## Expected Results - - - -## Actual Results - - - -## Intents - - - -## Checklist - - - -- [ ] I have searched the open issues for duplicates. -- [ ] I have shown the entire traceback, if possible. -- [ ] I have removed my token from display, if visible. -- [ ] I have provided the intents that my bot is using. - -## System Information - - - diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..54b2e8a8a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,67 @@ +name: Bug Report +about: Report broken or incorrect behaviour +labels: bug +issue_body: true +inputs: + - type: description + attributes: + value: > + Thanks for taking the time to fill out a bug. + If you want real-time support, consider joining our Discord instead at https://discord.gg/r3sSKJJ instead. + + Please note that this form is for bugs only! + - type: input + attributes: + label: Summary + description: A simple summary of your bug report + required: true + - type: textarea + attributes: + label: Reproduction Steps + required: true + description: > + What you did to make it happen. + Ideally there should be a short code snippet in this section to help reproduce the bug. + - type: textarea + attributes: + label: Expected Results + required: true + description: > + What did you expect to happen? + - type: textarea + attributes: + label: Actual Results + required: true + description: > + What actually happened? + - type: input + attributes: + label: Intents + required: true + description: > + What intents are you using for your bot? + This is the `discord.Intents` class you pass to the client. + - type: textarea + attributes: + label: System Information + required: true + description: > + Run `python -m discord -v` and paste this information below. + + This command required v1.1.0 or higher of the library. If this errors out then show some basic + information involving your system such as operating system and Python version. + - type: checkboxes + attributes: + label: Checklist + required: true + description: > + Let's make sure you've properly done due dilligence when reporting this issue! + choices: + - label: I have searched the open issues for duplicates. + required: true + - label: I have shown the entire traceback, if possible. + required: true + - label: I have removed my token from display, if visible. + required: true + - label: I have provided the intents that my bot is using. + required: true diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index 4badd49ee..000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Feature Request -about: Suggest a feature for this library -labels: feature request ---- - -## The Problem - - - -## The Ideal Solution - - - -## The Current Solution - - - -## Summary - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..598ac7052 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,40 @@ +name: Feature Request +about: Suggest a feature for this library +labels: feature request +issue_body: true +inputs: + - type: input + attributes: + label: Summary + description: > + A short summary of what your feature request is. + required: true + - type: dropdown + attributes: + label: What is the feature request for? + required: true + choices: + - The core library + - discord.ext.commands + - discord.ext.tasks + - The documentation + - type: textarea + attributes: + label: The Problem + description: > + What problem is your feature trying to solve? + What becomes easier or possible when this feature is implemented? + required: true + - type: textarea + attributes: + label: The Ideal Solution + description: > + What is your ideal solution to the problem? + What would you like this feature to do? + required: true + - type: textarea + attributes: + label: The Current Solution + description: > + What is the current solution to the problem, if any? + required: false