Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make use of parameter descriptors #26

Open
LBlend opened this issue Dec 14, 2023 · 0 comments
Open

make use of parameter descriptors #26

LBlend opened this issue Dec 14, 2023 · 0 comments

Comments

@LBlend
Copy link
Member

LBlend commented Dec 14, 2023

By utilizing certain helper functions provided by dpy you can use more human readable command parameter names. There is also a feature that adds descriptions to command parameters

  • Make use of this feature for every command
  • Translate norwegian parameter names to english. I.e translate to norwegian using the describe function while keeping the actual parameter names in code in english

https://discordpy.readthedocs.io/en/latest/interactions/api.html?highlight=describe#discord.app_commands.rename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant