I'm making a discord bot that receives a link to a Google form from the user, and then reads all available text input fields. Each field in a google form must be a variable in another slash command. I use the library Disnake
here is the pseudocode for understanding:
async def reg(inter: disnake.ApplicationCommandInteraction, [a1: str, a2: str, a2: str ...]):
I tried to save the second slash command in a txt file and execute it with exec(), but then the command is not displayed in the discord chat.