nouman0103 / winerp Goto Github PK
View Code? Open in Web Editor NEWAn IPC based on Websockets, fast, stable, and reliable
Home Page: https://pypi.org/project/winerp/
License: MIT License
An IPC based on Websockets, fast, stable, and reliable
Home Page: https://pypi.org/project/winerp/
License: MIT License
I was previously using pypi winerp version, and on_winerp_request
event was being called with parameters route and data.
I recently updated to the last github version and now the same event is being called with no parameters. (registered route are correctly wired as well as their parameters though).
If this is an intended behaviour, how do we get the route and data in on_winerp_request
now ?
send_message should raise a detailed exception instead of ClientRuntimeError
Lines 83 to 87 in 50718f0
import discord
import winerp
class MyClient(discord.Client):
async def on_message(self, message):
if message.content == 'raise error':
raise Exception('test2')
intents = discord.Intents.all()
intents.typing = False
client = MyClient(intents = intents)
client.run(TOKEN)
This simple code, when using the raise error
command, logs the exception twice, but the exact same code, without the second line import winerp
logs only once. (note that winerp is not used at all here, only imported).
Tried and reproduced on windows and debian, with python 3.9 to 3.11
https://github.com/nouman0103/winerp/blob/main/winerp/client.py#L242
It works with < 3.10 but raises error on 3.10
connection refused error 111
ufw already disabled nothing running on the specified port
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.