DiscordSRV icon indicating copy to clipboard operation
DiscordSRV copied to clipboard

Broken commands with uppercase letters

Open 100petr opened this issue 7 months ago • 1 comments

Expected behavior

Discord console commands will work even if they contain a capital letter

Actual behavior

If the command contains any capital letters, the command will not be sent.

Steps to reproduce

Send a command from the Discord console that contains a capital letter, such as Ban or bAn

Server software and version

Purpur 1.21.8

Checks

  • [x] I am not using an outdated version of DiscordSRV.
  • [x] I asked in DiscordSRV's Discord server to see whether this issue is in fact a bug that needs to be fixed.

Ticket number or message link to where you asked in DiscordSRV's Discord server about this

https://discord.com/channels/135634590575493120/1409760119712907395/1409760385351024686

Anything else

No response

100petr avatar Sep 02 '25 18:09 100petr

I can confirm this bug exists too. I was wondering why I can't execute any command on my phone but works on pc, turns out it is just the capital letter bug that doesn't accept the command.

Server software and version: PaperMC 1.21.8 Discordsrv version: 1.30.2

Update

After some testing, I just realized that it's just a console side problem. After 1.21.8, it doesn't accept uppercase commands. Before that, I was using 1.21.5, and executing commands on mobile works fine. It's just that I recently upgraded to 1.21.8, I thought the discordsrv side having problem communicate with the console, no output or errors.

I thought the solution for it will be automatically translate all commands to lowercase, but it will be a trouble if i want to enter usernames with uppercase letters.

Hopefully there are solution for this problem, otherwise just to be reminded to use lowercase when executing commands.

Thank you!

Before 1.21.8:

Op testsub [06:46:01] [Server thread/INFO]: Made testsub a server operator dEop testsub [06:46:09] [Server thread/INFO]: Made testsub no longer a server operator

After 1.21.8:

op Testsubject [06:44:14] [Server thread/INFO]: Made Testsubject a server operator Deop testsubject [06:44:25] [Server thread/INFO]: Unknown or incomplete command, see below for error Deop testsubject<--[HERE] Op testsubject [06:44:36] [Server thread/INFO]: Unknown or incomplete command, see below for error Op testsubject<--[HERE] deop Testsubject [06:44:50] [Server thread/INFO]: Made Testsubject no longer a server operator

EnderRL avatar Oct 30 '25 22:10 EnderRL