From e7fc0d9a3359419236e80f14cd5b3d611df38b8d Mon Sep 17 00:00:00 2001
From: PhoneDroid <73050054+PhoneDroid@users.noreply.github.com>
Date: Wed, 20 Mar 2024 17:56:40 -0400
Subject: [PATCH] Reworked issue template
---
.github/ISSUE_TEMPLATE/Bug.yml | 103 ++++++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 9 +++
ISSUE_TEMPLATE.md | 22 -------
3 files changed, 112 insertions(+), 22 deletions(-)
create mode 100644 .github/ISSUE_TEMPLATE/Bug.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
delete mode 100644 ISSUE_TEMPLATE.md
diff --git a/.github/ISSUE_TEMPLATE/Bug.yml b/.github/ISSUE_TEMPLATE/Bug.yml
new file mode 100644
index 000000000..f88e280af
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/Bug.yml
@@ -0,0 +1,103 @@
+
+#
+# Check the docs on how to write GitHub forms:
+# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates
+#
+
+name : '🪳 Bug Report'
+
+description : I found a bug in DarkRP.
+
+title : '[ Bug ]
'
+
+labels : [ bug ]
+
+assignees : [ 'FPtje' ]
+
+body :
+
+ - type : markdown
+
+ attributes :
+ value : |
+ This place is only intended for bug reports,
+ if you need general join the **[DarkRP Discord](https://darkrp.page.link/discord)**
+
+
+ - type : textarea
+ id : problem
+
+ validations :
+ required : true
+
+ attributes :
+
+ description : |
+ Describe the issue as accurately as possible.
+
+ placeholder : |
+ I'm unable to do x when ..
+
+ label : Problem
+
+
+ - type : textarea
+ id : reproduce
+
+ validations :
+ required : true
+
+ attributes :
+
+ description : |
+ Describe how we can reproduce the issue.
+
+ placeholder : |
+ 1. I first do x
+ 2. Then I do y and see z
+
+ label : Reproduction
+
+
+ - type : markdown
+
+ attributes :
+ value : |
+ It's important for us to be able to reproduce your problem
+ so we fix it more easily and be sure it's solved.
+
+
+ - type : textarea
+ id : errors
+
+ validations :
+ required : true
+
+ attributes :
+
+ description : |
+ Describe the issue as accurately as possible.
+
+ placeholder : |
+ I'm unable to do x when ..
+
+ label : Errors
+
+
+ - type : markdown
+
+ attributes :
+ value : |
+ Please always check the startup log of the server for
+ errors, as those can cause more errors down the line.
+
+
+ - type : textarea
+ id : extra
+
+ attributes :
+
+ description : |
+ Any additional information that you can provide.
+
+ label : Additional Info
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..69b356e0f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,9 @@
+
+blank_issues_enabled : false
+
+contact_links :
+
+ - about : I need help with DarkRP
+ name : 🚨 Support
+ url : https://darkrp.page.link/discord
+
diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md
deleted file mode 100644
index 3ad68621f..000000000
--- a/ISSUE_TEMPLATE.md
+++ /dev/null
@@ -1,22 +0,0 @@
-
-[//]: # (DO NOT REMOVE THIS TEMPLATE.)
-[//]: # (GITHUB ISSUES ARE **NOT** FOR HELP)
-[//]: # (GO TO THE DISCORD INSTEAD: https://darkrp.page.link/discord )
-
-### Description of the bug
-[//]: # (Describe the issue as accurately as possible)
-
-
-### How to make the bug happen
-[//]: # (Knowing how to make a bug happen allows the developers to figure out)
-[//]: # (what the cause of the problem is and whether a certain fix solves it)
-
-
-### Lua errors
-[//]: # (Note that errors on server startup are more important than other ones)
-[//]: # (because they can cause other errors. Always look in the startup log of the server!)
-
-
-### Why the developer of DarkRP is responsible for this issue
-[//]: # (By posting on Github, you ask the developers of DarkRP to solve the problem)
-[//]: # (It may seem obvious to you, but you have to make clear why they are the right people to look at it)