Closed sgoudham closed 2 years ago
I believe that issue is from one of the options being named "name". Can you try running the second example without wait_for
anywhere, just await ctx.send("Recieved")
?
Ahhhh I can't believe that was the problem, works perfectly now thank you! @Catalyst4222 I feel like that should be documented as I never would have thought that! Are there any other keywords that should be avoided?
I believe that it's just "name", and possibly "self" too. Since the error originates from the base library, I suggest making an issue there so that the bug gets tracked
Hi, I'm a new user of
interactions-py
andinteractions-wait-for
What Is The Error?
Upon installing the library and trying to set up interactions, I've been getting the error below:
How Does It Occur?
I believe it occurs when slash commands are registered with subcommands that have options.
Working Example
The following example works as expected:
Output:
Bugged Example
The following example does not work as expected:
Output:
The error within the terminal is the same as displayed at the beginning.
Diagnostic Details
Operating System: Windows 11 Python: 3.10 interactions-py: 4.1.1-rc.1 interactions-wait-for: 1.0.4