Is there a way to define a command without using the interactions.Client.command decorator? I need to be able to dynamically create a bunch of commands from a config file without said config file being a python script.
Something like this would be great:
async def my_function(context):
do stuff
bot.register_command(name = "...", description = "...", callback = my_function)
Is that possible?