replugged-org / replugged

A lightweight Discord client mod focused on simplicity and performance.
https://replugged.dev/
MIT License
638 stars 65 forks source link

Chat input commands shown in context menu #576

Open thewilloftheshadow opened 10 months ago

thewilloftheshadow commented 10 months ago

Describe the bug

Commands that are created in Replugged are not restricted to the chat input, but are shown under Apps for both users and messages

Reproduction steps

  1. Update to Replugged v4.7.4

Expected behavior

Commands should only be shown in the chat input (or better yet, let plugin developers be able to decide which it goes to)

Actual behavior

Commands are shown in the context menu, and commands that use arguments do not have the ability to receive them.

Additional information

Manually setting the type field in registerSlashCommand to 1 (CHAT_INPUT) does nothing.

Please confirm the following

OIRNOIR commented 9 months ago

I can confirm this is an issue. I find that the context menu commands always appear at the bottom of the list even when not all of the commands have loaded, so it causes mild inconveniences when looking for a context command that is near the bottom of the list.