chore: issue template changes for monorepo (#7198)

This commit is contained in:
Souji
2022-01-07 23:13:04 +01:00
committed by GitHub
parent 43e5e3c339
commit 37587e2bcb
2 changed files with 40 additions and 26 deletions

View File

@@ -1,12 +1,23 @@
name: Bug report name: Bug report
description: Report incorrect or unexpected behavior of discord.js description: Report incorrect or unexpected behavior of a package
labels: [bug, need repro] labels: [bug, need repro]
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: | value: |
Use Discord for questions: https://discord.gg/djs Use Discord for questions: https://discord.gg/djs
If you are reporting a voice issue, please post your issue at https://github.com/discordjs/voice/issues - type: dropdown
id: package
attributes:
label: Which package is this bug report for?
options:
- discord.js
- builders
- collection
- rest
- voice
validations:
required: true
- type: textarea - type: textarea
id: description id: description
attributes: attributes:
@@ -30,28 +41,16 @@ body:
description: Include a reproducible, minimal code sample. This will be automatically formatted into code, so no need for backticks. description: Include a reproducible, minimal code sample. This will be automatically formatted into code, so no need for backticks.
render: typescript render: typescript
placeholder: | placeholder: |
const { Client, Intents } = require('discord.js'); Your code sample should be...
const client = new Client({ intents: [Intents.FLAGS.GUILDS] }); ... Minimal - Use as little code as possible that still produces the same problem (and is understandable)
... Complete - Provide all parts someone else needs to reproduce your problem
client.on('ready', () => { ... Reproducible - Test the code you're about to provide to make sure it reproduces the problem
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('interactionCreate', async interaction => {
if (!interaction.isCommand()) return;
if (interaction.commandName === 'ping') {
await interaction.reply('Pong!');
}
});
client.login('token');
- type: input - type: input
id: djs-version id: djs-version
attributes: attributes:
label: discord.js version label: Package version
description: Which version of discord.js are you using? Run `npm list discord.js` in your project directory and paste the output. description: Which version of are you using? Run `npm list <package>` in your project directory and paste the output.
placeholder: 13.x.x (we no longer support version 12 or earlier) placeholder: We no longer support version 12 or earlier of discord.js
validations: validations:
required: true required: true
- type: input - type: input
@@ -89,6 +88,7 @@ body:
Tip: you can select multiple items Tip: you can select multiple items
options: options:
- Not applicable (subpackage bug)
- No Partials - No Partials
- USER - USER
- CHANNEL - CHANNEL
@@ -104,10 +104,12 @@ body:
attributes: attributes:
label: Which gateway intents are you subscribing to? label: Which gateway intents are you subscribing to?
description: | description: |
Check your Client constructor for the `intents` key. Check your Client constructor options for the `intents` key.
Tip: you can select multiple items Tip: you can select multiple items
options: options:
- Not applicable (subpackage bug)
- No Intents
- GUILDS - GUILDS
- GUILD_MEMBERS - GUILD_MEMBERS
- GUILD_BANS - GUILD_BANS
@@ -131,8 +133,8 @@ body:
id: dev-release id: dev-release
attributes: attributes:
label: I have tested this issue on a development release label: I have tested this issue on a development release
placeholder: d23280c placeholder: d23280c (commit hash)
description: | description: |
The issue might already be fixed in a development release. This is not required, but helps us greatly. The issue might already be fixed in a development release or main. This is not required, but helps us greatly.
To install the latest development release run `npm i discord.js@dev` in your project directory. [discord.js only] To install the latest development release run `npm i discord.js@dev` in your project directory.
Run `npm list discord.js` and use the last part of the printed information (`d23280c` for `discord.js@xx.x.x-dev.1530234593.d23280c`) Run `npm list discord.js` and use the last part of the printed information (`d23280c` for `discord.js@xx.x.x-dev.1530234593.d23280c`)

View File

@@ -1,5 +1,5 @@
name: Feature request name: Feature request
description: Request a new feature (documented features of the official Discord developer API only!) description: Request a new feature (discord.js accepts documented features of the official Discord developer API only!)
labels: [feature request] labels: [feature request]
body: body:
- type: markdown - type: markdown
@@ -8,6 +8,18 @@ body:
We can only implement features that Discord publishes, documents and merges into the Discord API documentation. We can only implement features that Discord publishes, documents and merges into the Discord API documentation.
We do not implement unreleased features. We do not implement unreleased features.
Use Discord for questions: https://discord.gg/djs Use Discord for questions: https://discord.gg/djs
- type: dropdown
id: package
attributes:
label: Which package is the feature request for?
options:
- discord.js
- builders
- collection
- rest
- voice
validations:
required: true
- type: textarea - type: textarea
id: description id: description
attributes: attributes: