disnake icon indicating copy to clipboard operation
disnake copied to clipboard

Add a kwarg or a way to manage the syncing warning message

Open Balnos opened this issue 3 years ago • 2 comments

Summary

Adding a way to disable the ephemeral message

What is the feature request for?

disnake.ext.commands

The Problem

It would be nice if we got a kwarg or a feature that it help us to remove the syncing warning message, an ephemeral message that disnake provides to warn the user that this command is getting synchronized.

Also discord already shows a special error that the app command is getting updated so it would nice if this would be added because some (like me) will like that discord shows that . (Also sorry if i didnt speak correctly or properly )

The Ideal Solution

Implementing it.

The Current Solution

No response

Additional Context

No response

Balnos avatar Dec 05 '22 11:12 Balnos

Also discord already shows a special error that the app command is getting updated so it would nice if this would be added because some (like me) will like that discord shows that

That's a client-side error for situations where a user tried to invoke a command that no longer exists on the server-side.

The sync warning messages that show up are used in a slightly different situation: when a command exists on the server-side but no longer in the bot, for example when removing test_guilds which does not un-sync the commands from those guilds.

Unfortunately there's no way for bots to show that first error, it's purely a client-side thing.

shiftinv avatar Jan 15 '23 00:01 shiftinv

Also linking the relevant part of the code here for context, if anyone wants to give it a shot: https://github.com/DisnakeDev/disnake/blob/84c44a2d4ccc82d97727abf038c1ac0e8af394b9/disnake/ext/commands/interaction_bot_base.py#L1323-L1347

shiftinv avatar Jan 15 '23 00:01 shiftinv