From 0203d0339b2e09ea78455b4c46e4651f7afe57da Mon Sep 17 00:00:00 2001 From: Kowlin Date: Sat, 20 Feb 2021 00:49:49 +0100 Subject: [PATCH] Update issue templates for migration --- .github/ISSUE_TEMPLATE/bug_report.yml | 22 ++++++++++++++-------- .github/ISSUE_TEMPLATE/feature_request.yml | 12 +++++++++--- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 779f065c7..adebc90b6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -2,8 +2,8 @@ name: Bug Report about: Report broken or incorrect behaviour labels: bug issue_body: true -inputs: - - type: description +body: + - type: markdown attributes: value: > Thanks for taking the time to fill out a bug. @@ -14,48 +14,54 @@ inputs: attributes: label: Summary description: A simple summary of your bug report + validations: 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. + validations: + required: true - type: textarea attributes: label: Expected Results - required: true description: > What did you expect to happen? + validations: + required: true - type: textarea attributes: label: Actual Results - required: true description: > What actually happened? + validations: + required: true - 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. + validations: + required: true - 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. + validations: + required: true - type: checkboxes attributes: label: Checklist description: > Let's make sure you've properly done due dilligence when reporting this issue! - choices: + options: - label: I have searched the open issues for duplicates. required: true - label: I have shown the entire traceback, if possible. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 598ac7052..1e3389788 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -2,28 +2,32 @@ name: Feature Request about: Suggest a feature for this library labels: feature request issue_body: true -inputs: +body: - type: input attributes: label: Summary description: > A short summary of what your feature request is. + validations: required: true - type: dropdown attributes: + multiple: false label: What is the feature request for? - required: true - choices: + options: - The core library - discord.ext.commands - discord.ext.tasks - The documentation + validations: + required: true - 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? + validations: required: true - type: textarea attributes: @@ -31,10 +35,12 @@ inputs: description: > What is your ideal solution to the problem? What would you like this feature to do? + validations: required: true - type: textarea attributes: label: The Current Solution description: > What is the current solution to the problem, if any? + validations: required: false