Replies: 3 comments 3 replies
-
I've started work on making a heavily inspired wrapper that will allow for twisted web servers (not Klein directly). Will 1000% link to your project in the readme once it goes live (AKA once it's functional and tested) |
Beta Was this translation helpful? Give feedback.
-
https://github.com/Column01/twisted-discord-interactions It's public now, but still WIP. Sorry to clutter your repo with a discussion about this, but I figured I'd ask in case you wanted to add support. |
Beta Was this translation helpful? Give feedback.
-
@Column01 btw, did you look at the dev branch of this project? Because I was actually designing a more general extension approach with a The plan was to maybe also have a FastAPI extension. So we'd have |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to integrate this with Klein instead of Flask using the existing flask extension code? Klein uses the same routing system that Flask does and provides twisted support (if you aren't sure what that is, it's sort of like
asyncio
but an entirely separate framework).I have an existing application built on twisted and would like to integrate a discord plugin into it. It requires the ability to run inside twisted, and I'm hoping that this can be done with Klein OOTB with your existing code. Looking at the integration, it doesn't seem possible. An Extension would likely need to be added as far as I can tell.
Beta Was this translation helpful? Give feedback.
All reactions