Here is a list of features I wanna add to instantcmd for the next major update (thanks Zephyrkul for the suggestions)
Core system
[ ] Add support for more objects:
[ ] Application commands
[x] Dev env values (get rid of instantcmd env command subgroup, put everything in the same place)
[x] Message components
[ ] Cogs ?
[ ] Code snippets shared among other commands
[ ] Additions to instantcmd.utils
[ ] Get a proper config object
[ ] Decorator for adding a command to a cog (registered before or created dynamically)
[ ] Decorator for restricting a command or a listener to a server
[ ] Return multiple objects Due to the new structure, it's more difficult to implement than expected (each code snippet is an object that supports toggling, among other stuff, would be difficult to separate both)
[ ] Analyse the env if nothing is returned (will try, probably not doable)
[ ] Shared code snippets. Either registering them from Discord or editing an actual Python file.
Code analysis and execution
[ ] Study different ways of storing and running the commands. Currently it's a "string implementation", wrapped in a function then evaluated. This could be changed to saving in a python file? Many pros and cons for both ways.
Cog structure
[x] Rework the structure. Try to use objects more, make it understandable and easy to tinker.
[x] New command(s) for sending messages with registered components
UI
[x] Use message components
[x] Less commands, more interactions (like merging list and source)
[x] Rework UI, required with the addition of new types.
Application commands for the cog commands will not be added because they're all owner only commands, you don't want to expose that.
Not everything will be done, it's just a quick todo list. Feel free to drop more ideas.
Here is a list of features I wanna add to
instantcmd
for the next major update (thanks Zephyrkul for the suggestions)Core system
instantcmd env
command subgroup, put everything in the same place)instantcmd.utils
Return multiple objectsDue to the new structure, it's more difficult to implement than expected (each code snippet is an object that supports toggling, among other stuff, would be difficult to separate both)Code analysis and execution
Cog structure
UI
Application commands for the cog commands will not be added because they're all owner only commands, you don't want to expose that.
Not everything will be done, it's just a quick todo list. Feel free to drop more ideas.