Giter Site home page Giter Site logo

nouman0103 / winerp Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 8.0 176 KB

An IPC based on Websockets, fast, stable, and reliable

Home Page: https://pypi.org/project/winerp/

License: MIT License

Python 100.00%
asyncio communication discord discord-ipc inter-process-communication inter-server-communications ipc websocket websockets

winerp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

winerp's Issues

on_winerp_request

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 ?

Logging twice when importing winerp with discord.py

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.