Files
discordeno/.github/ISSUE_TEMPLATE/bug_report.yml
Matthew Hatcher 1545f01da4 feat(.github): new issue templates (#3166)
* feat: new issue templates

* feat: add config yaml

* feat: adding better example code

* feat: add labels

* Update .github/ISSUE_TEMPLATE/bug_report.yml

* Update .github/ISSUE_TEMPLATE/bug_report.yml

---------

Co-authored-by: ITOH <to@itoh.at>
2023-10-30 21:36:16 +00:00

70 lines
2.0 KiB
YAML

name: Bug Report
description: Found a bug? Help us squash it.
title: '[Bug]: '
labels: ['t-bug', 'w-unverified']
body:
- type: markdown
attributes:
value: |
Thank you for taking to the time to fill out a bug report. You make this library better for all! 🙏
- type: dropdown
id: runtime
attributes:
label: Runtime
description: What runtime (Node, Deno, etc) are you using?
options:
- NodeJS
- Deno
- Bun
- Other (add the name to the version)
validations:
required: true
- type: input
id: runtime-version
attributes:
label: Runtime Version
description: What version of the runtime are you using? In Node you could get this through `node --version`.
placeholder: 18.3.1
validations:
required: true
- type: input
id: dd-version
attributes:
label: Version
description: What version of Discordeno are you using?
placeholder: 19.0.0
validations:
required: true
- type: textarea
id: bug-description
attributes:
label: Describe the bug
description: What is the outcome that you see that's unexpected? What steps should we take to reproduce the bug?
validations:
required: true
- type: textarea
id: bug-expectation
attributes:
label: What should've happened?
description: If the bug didn't exist, what should've happened?
validations:
required: true
- type: textarea
id: bug-repro-code
attributes:
label: Code to reproduce the bug
description: Provide us, if possible, a small piece of code that's easy to test to reproduce this specific bug.
value: |
import { createBot } from '@discordeno/bot'
const bot = createBot({
token: process.env.TOKEN,
events: {
// Add the events, which are needed to show the bug
},
// Don't forget to add all necessary intents
intents: 0,
})
bot.start()
render: typescript