#How to add options to slash_command at runtime?
1 messages · Page 1 of 1 (latest)
slash command options are static. Meaning they cannot be changed. You can try looking for autocomplete which is dynamic:
https://github.com/Pycord-Development/pycord/blob/master/examples/app_commands/slash_autocomplete.py
https://guide.pycord.dev/interactions/application-commands/slash-commands#autocomplete
GitHub
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API - pycord/examples/app_commands/slash_autocomplete.py at master · Pycord-Development/pycord
Learn all about Slash Commands and how to implement them into your Discord Bot with Pycord!
.solved