Giter VIP home page Giter VIP logo

osu_irc.py's People

Contributors

the-cj avatar xjunko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

windowsmeosu

osu_irc.py's Issues

Add timeout and ban

Whould like to do, but i never find any events... cant tell me osu community is so nice noone is timedout xD

Handle more events

Pls ignore this issue, its a todo list for me:

  • MODE
  • IRC event: 332 (Room MODT)
  • IRC event: 333: (Time Sync, i guess?)

Add bot_exit

I wanna use this project into other project. And when I instantiate the object I would need to exit it but not exit my main process.

Catch ReadIncompleteErrors

Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/osu_irc/__init__.py", line 90, in start
     await self.listen()
   File "/usr/lib/python3/dist-packages/osu_irc/__init__.py", line 103, in listen
     payload = await self.connection_reader.readuntil(separator=b'\n')
   File "/usr/lib/python3.6/asyncio/streams.py", line 578, in readuntil
     raise IncompleteReadError(chunk, None)
asyncio.streams.IncompleteReadError: 0 bytes read on a total of None expected bytes

osu_irc no longer working after server changes

Now getting this error after bot connects to irc.

[MBOT]: Starting the bot...
[MBOT]: Connecting to MySQL...
[MBOT]: Connected to MySQL!
[MBOT]: Connecting to Bancho...
[MBOT]: Connected to Bancho!

Traceback (most recent call last):
File "C:\venv\MeqBot\lib\site-packages\osu_irc\Classes\client.py", line 97, in main
await self.listen()
File "C:\venv\MeqBot\lib\site-packages\osu_irc\Classes\client.py", line 133, in listen
if payload in ["", " ", None] or not payload: raise EmptyPayload()
osu_irc.Utils.errors.EmptyPayload
Task was destroyed but it is pending!
task: <Task pending coro=<addTraffic() running at C:\venv\MeqBot\lib\site-packages\osu_irc\Utils\traffic.py:13> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002AA753978B8>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<addTraffic() running at C:\venv\MeqBot\lib\site-packages\osu_irc\Utils\traffic.py:13> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002AA753979D8>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<addTraffic() running at C:\venv\MeqBot\lib\site-packages\osu_irc\Utils\traffic.py:13> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002AA75397858>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<trafficQuery() running at C:\venv\MeqBot\lib\site-packages\osu_irc\Utils\traffic.py:27> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x000002AA75397948>()]>>

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.