From 35eb60540bdcc9100a0a88d92e02726fa224513f Mon Sep 17 00:00:00 2001 From: LucasB25 <50886682+LucasB25@users.noreply.github.com> Date: Sun, 22 Sep 2024 12:07:31 +0200 Subject: [PATCH] update --- .github/ISSUE_TEMPLATE/bug_report.yaml | 69 +++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yaml | 64 +++++++++++++++++++ src/commands/config/247.ts | 1 - src/commands/music/Join.ts | 1 - src/commands/music/PlayNext.ts | 1 - src/commands/music/Search.ts | 1 - src/commands/playlist/Load.ts | 1 - 7 files changed, 133 insertions(+), 5 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml new file mode 100644 index 000000000..220f982f0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -0,0 +1,69 @@ +name: Bug Report +description: Report incorrect or unexpected behavior. +title: "[Bug]: " +labels: ["bug"] +assignees: + - appujet +body: + - type: markdown + attributes: + value: "## 🐞 Bug Report\n\nPlease fill out the information below to help us resolve the issue as quickly as possible." + + - type: textarea + id: description + attributes: + label: "Bug description" + description: "Provide a clear and concise description of the bug." + placeholder: "Describe the issue..." + validations: + required: true + + - type: textarea + id: reproduce-step + attributes: + label: "Steps to reproduce" + description: "Detail the steps to reproduce the bug. Include any specific setup information that might be important." + placeholder: "Step 1: ...\nStep 2: ...\nStep 3: ..." + validations: + required: true + + - type: input + id: os + attributes: + label: "Operating System" + description: "Which operating system and version are you using?" + placeholder: "e.g., Windows 10, macOS 13, Ubuntu 20.04" + validations: + required: true + + - type: input + id: nodejs-version + attributes: + label: "Node.js version" + description: "Specify the version of Node.js that you are using." + placeholder: "e.g., 14.17.0" + validations: + required: true + + - type: input + id: app-version + attributes: + label: "Application/Library version" + description: "Specify the version of the application or library where the bug occurred." + placeholder: "e.g., v1.2.3" + validations: + required: true + + - type: textarea + id: error-logs + attributes: + label: "Error logs or screenshots" + description: "Include relevant error logs or screenshots that might help in diagnosing the issue." + placeholder: "" + + - type: textarea + id: additional-info + attributes: + label: "Additional context" + description: "Provide any other context or information that might be helpful." + placeholder: "Any additional details..." diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml new file mode 100644 index 000000000..5777c6042 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -0,0 +1,64 @@ +name: "Feature Request" +description: "Propose a new idea or improvement for this repository" +title: "[Feature Request]: " +labels: ["enhancement", "feature-request"] +assignees: + - appujet +body: + - type: markdown + attributes: + value: | + ## Feature Request + + Please provide a detailed description of the feature you're suggesting. If applicable, describe any related problem and the potential benefits of implementing this feature. + - type: input + id: title + attributes: + label: "Feature Title" + description: "Provide a brief title for your feature request" + placeholder: "Enter a concise title" + validations: + required: true + - type: textarea + id: problem_description + attributes: + label: "Is your feature request related to a problem?" + description: "Describe the problem you're trying to solve, if applicable" + placeholder: "Describe the problem" + validations: + required: false + - type: textarea + id: suggestion_description + attributes: + label: "Feature Description" + description: "Provide a detailed description of your idea. Include examples, screenshots, or mockups if possible." + placeholder: "Explain your idea in detail" + validations: + required: true + - type: dropdown + id: priority + attributes: + label: "Priority Level" + description: "Indicate how important this feature is" + options: + - "Low" + - "Medium" + - "High" + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: "Alternatives Considered" + description: "Have you considered any alternative solutions? Please describe them here." + placeholder: "Mention any alternative approaches" + validations: + required: false + - type: textarea + id: additional_context + attributes: + label: "Additional Context" + description: "Add any other context or screenshots that could help explain your feature request." + placeholder: "Additional context, links, or references" + validations: + required: false diff --git a/src/commands/config/247.ts b/src/commands/config/247.ts index 32b60c6fb..c87bde37f 100644 --- a/src/commands/config/247.ts +++ b/src/commands/config/247.ts @@ -56,7 +56,6 @@ export default class _247 extends Command { textChannelId: ctx.channel.id, selfMute: false, selfDeaf: true, - vcRegion: member.voice.channel.rtcRegion, }); } diff --git a/src/commands/music/Join.ts b/src/commands/music/Join.ts index 2dadd812c..b18791a4c 100644 --- a/src/commands/music/Join.ts +++ b/src/commands/music/Join.ts @@ -60,7 +60,6 @@ export default class Join extends Command { textChannelId: ctx.channel.id, selfMute: false, selfDeaf: true, - vcRegion: memberVoiceChannel.rtcRegion, }); if (!player.connected) await player.connect(); diff --git a/src/commands/music/PlayNext.ts b/src/commands/music/PlayNext.ts index 22404edee..14be280b2 100644 --- a/src/commands/music/PlayNext.ts +++ b/src/commands/music/PlayNext.ts @@ -57,7 +57,6 @@ export default class PlayNext extends Command { textChannelId: ctx.channel.id, selfMute: false, selfDeaf: true, - vcRegion: memberVoiceChannel.rtcRegion, }); if (!player.connected) await player.connect(); diff --git a/src/commands/music/Search.ts b/src/commands/music/Search.ts index e44ea220b..a0837da17 100644 --- a/src/commands/music/Search.ts +++ b/src/commands/music/Search.ts @@ -52,7 +52,6 @@ export default class Search extends Command { textChannelId: ctx.channel.id, selfMute: false, selfDeaf: true, - vcRegion: memberVoiceChannel.rtcRegion, }); if (!player.connected) await player.connect(); diff --git a/src/commands/playlist/Load.ts b/src/commands/playlist/Load.ts index 3b69cae23..bd6145af6 100644 --- a/src/commands/playlist/Load.ts +++ b/src/commands/playlist/Load.ts @@ -74,7 +74,6 @@ export default class LoadPlaylist extends Command { textChannelId: ctx.channel.id, selfMute: false, selfDeaf: true, - vcRegion: member.voice.channel.rtcRegion, }); if (!player.connected) await player.connect();