-
-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
bugIssue/PR related to an error, fault, or flaw.Issue/PR related to an error, fault, or flaw.high priorityIssue/PR is a high priority.Issue/PR is a high priority.
Description
Describe the Bug
Clicking on the "Server Limit" button when picking a bot decline reason ends up actually selecting the "Shit Bot" option and highlighting the "Owner Discontinued Bot" option.
Steps to Reproduce
- Decline a bot's application
- Click the "Server Limit" option
- Check the reason specified in the reason input box
Expected Behavior
It should select the "Server Limit" instead of the "Shit Bot" reason.
website/views/templates/bots/staffActions/remove.ejs
Lines 193 to 196 in 2f288fa
| case "serverLimit": | |
| document.getElementById("reason").value = "This bot has reached Discord's limit of 100 servers without Discord verification. Please resubmit once it is verified by Discord."; | |
| document.getElementById("discontinued").classList.add("is-default"); | |
| document.getElementById("type").value = 16; |
Operating System
Arch Linux 6.13.1-arch1-1
Browser
Firefox 134.0
Additional Context
website/views/templates/bots/staffActions/remove.ejs
Lines 69 to 70 in 2f288fa
| <button type="button" id="offline" onclick="premadeReason('serverLimit');" class="button is-dark"> | |
| <span><%= __("page.remove.premadeReasons.serverLimit") %></span> |
I presume this has to do with a
serverLimit enum value not existing under botReasonsLines 41 to 42 in 2f288fa
| discontinued, | |
| shitBot |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue/PR related to an error, fault, or flaw.Issue/PR related to an error, fault, or flaw.high priorityIssue/PR is a high priority.Issue/PR is a high priority.
