rainbowbismuth / euphoria-py Goto Github PK
View Code? Open in Web Editor NEWAn asyncio based euphoria.io bot library for Python 3.5
License: GNU General Public License v3.0
An asyncio based euphoria.io bot library for Python 3.5
License: GNU General Public License v3.0
The issue seems to be that since I start both the Client and the NickAndAuth state machine at the same time, sometimes NickAndAuth doesn't start before the Client, and will never see the HelloEvent or BounceEvent.
Fix is to rethink initialization of these two components.
Otherwise two different bots could be trying to use the same shelf and I'm not entirely sure what would happen there.
And it really really should, especially when the default behavior is to retry services or restarting the bot as a whole.
There should be examples for using the euphoria.Client class by itself, rather then the full framework. They should be written well and automatically tested.
At the moment it neither reconnects or shutdowns. I think I might have an idea why this happens but I should write a test for it.
A user should be able to run a bot in multiple rooms with different configurations for each room. The configuration should be taken from one file.
rainbowbismuth, I'm happy to write this after I read over your code. If you'd like to do it, though, please feel free!
Should take like 2 seconds just have to remember to do it. euphoria.services.reminder doesn't atm.
It should be as easy as setting like a single config option (or maybe a command line switch?)
Like a "-config config_filename.yml" instead of it finding just a completely hardcoded bot.yml or borg.yml
[cammiebutt] this isn't trivial, but
[cammiebutt] have the option to put all new posts without human messages in between under one root level message
[cammiebutt] so that someone can collapse all of them and have human stuffs closer together instead of a page of bot stuff during the night
[♐] i don't think that would be too hard
[♐] but that totally makes sense
[♐] also your feature request wouldn't work with maimai around >_>
[cammiebutt] why?
[♐] becayse maimai comments on every message
[cammiebutt] mhm
[cammiebutt] so ignore direct replies
[cammiebutt] I don't mind being able to collapse something if all we've talked about is the rattie things
[cammiebutt] or ignore bots
[cammiebutt] their user ID is sent iirc
[cammiebutt] yeah
[cammiebutt] look for "bot:" at the beginning of packet["data"]["sender"]["id"]
[♐] ohhh really? ok
Make it faster to iterate without having to restart the entire bot.
Do this sort of thing: https://github.com/python/asyncio/blob/master/asyncio/__init__.py
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.