discord-api-docs
discord-api-docs copied to clipboard
Copying and Pasting Localized Slash Commands on the Chat Box does not bring up the Command Picker, unless if you type the original non-localized name
Description
If you copy and paste a slash command from the chat box that has localized labels, Discord won't suggest the command until you rewrite the text in the chat box to use the original non-localized label.
Steps to Reproduce
- Have a command that has localized name
- Type the command with its arguments
- Copy the command from the chat box
- Delete the command from the chat box
- Paste the command to the chat box, notice that Discord won't suggest using the
/localized command
UNTIL you rewrite the text in the chat box to/nonlocalized command
Expected Behavior
If I copy and pasted /sonhos pagar user:@MrPowerGamerBR#4185 quantity:100
, Discord should suggest to use /sonhos pagar
without me changing the pagar
name to pay
.
Current Behavior
Discord doesn't suggest the localized command until I rewrite the pasted command with the original non-localized label.
Screenshots/Videos
English: https://user-images.githubusercontent.com/9496359/189200926-e667b5f9-991f-45e0-8362-8a5ea098bb7d.mp4
Portuguese: https://user-images.githubusercontent.com/9496359/189201176-03d3dac8-c81a-4ff6-8696-17394c6fd273.mp4
Client and System Information
Canary 146049 (3a5271c) Host 1.0.49 Windows 10 64-Bit (10.0.19044)
Something that my friend pointed out recently: On his Discord server, he can paste the localized commands without needing to rewrite to use the non-localized label, and I tested it and sure enough, I can paste the command without needing to change anything about it.
However I'm not sure why it works on his server, maybe it is because I have multiple bots with the same command label on my test server?