breqdev/flask-discord-interactions

Sub Commands Issue when Sending from Context.

jethrob opened this issue · 2 comments

When trying to send message from sub command group, receiving and invalid schema error.
It seems like the context (ctx) isn't parsed correctly, the below echo works correctly if using @bp.command()

image

image

Sorry I can't send test case, or pull request, still learning to use python.

I was able to reproduce this issue in version 0.1.11, but your example appeared to work fine for me in version 0.1.12. (This is the version that I released after your previous bug report, #29).

You will need to update this library manually, since pip does not automatically update packages. The easiest way to do this is with pip's --upgrade flag:

pip3 install Flask-Discord-Interactions --upgrade

Let me know if this works for you! 👍

Thanks Brooke, when I was creating my container, it looks like it was using 0.1.11 version.

image