Replies: 1 comment
-
You can make a webserver using quart or any other async framework of your choice and have different routes for covering all your winerp client routes of your bot Then you can simply make Request to the webserver from NextJS using fetch I do this currently. Bus since winerp has a websocket server you can connect to it using node's websockets package and make direct request without the intermediary webserver if you like But making webserver is more convenient. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to connect my discord.py bot to my nextjs site and i wanna call some event from nextjs site to dpy bot how can I do it with this lib?
Beta Was this translation helpful? Give feedback.
All reactions