Application Command Mentions #6193
Unanswered
ooliver1
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
There may be two commands with the same name (global and per-guild), so the first proposed format is not ideal either though i agree the current format is a bit annoying too. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current application command format is (in my opinion), annoying to use and excessively verbose.
The current format
</name:id>
is not a great format for the following reasons:</colour name:927495024810295329>
which has a localisation ofcolor
foren-US
, yet switching toEnglish US
in the client still renders ascolour
in the command mention.https://github.com/onerandomusername/monty-python/blob/86e3732da5ef845d6c7a6cb11ee5b04290acfbe2/monty/exts/info/colour.py#L109
Proposed format
In my opinion, a better format would be
</name:app-id>
. This still removes the ambiguity of multiple commands with the same name, but is also easier to "hardcode" and handle in source code as the application id does not change. This should still handle localisation in the client when the command is known to the client.A more ideal format would be
</command-id>
, but the subcommand format is not ideal as they have the same command IDs, a design flaw not suitable to be mentioned in this post.Beta Was this translation helpful? Give feedback.
All reactions