Skip to content

Slash commands with auto-complete returning the name and not the value of the option with pasting #7916

@ZixeSea

Description

@ZixeSea

Description

When pasting a slash command with all arguments pre-fill out and auto-complete is enabled, it sends the name of the auto-complete argument instead of the value. If you instead type everything out or click on the auto-completed options and click the option from the list of options (above the textbox) it will send the correct value.

This problems seems similar to #4556 and has existed for a long time. Was never really able to consistently reproduce it until I revisited it today.

Steps to Reproduce

  • Copy an existing slash command with arguments pre-fill out (which includes at least 1 auto-complete argument)
  • Paste the copied slash command from the first step and send it (without changing the auto-complete argument)
  • It will now provide the name as it's value for the auto-complete argument

See screenshot/videos for more details

Expected Behavior

Slash commands with auto-complete provides the value instead of the name as value

Current Behavior

name is returned inside the value

Screenshots/Videos

Image

Client and System Information

PC [ Windows 11 64-bit (10.0.26200) ]
stable 459631 (e97e9b1)
Host 1.0.9212 x64 (70471)
Build Override: N/A

Phone [ pa3q (SM-S938B) (36) ]
302.5 (4772) - betaRelease

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions