richrd / bx Goto Github PK
View Code? Open in Web Editor NEWModular Python IRC bot made from scratch.
License: Apache License 2.0
Modular Python IRC bot made from scratch.
License: Apache License 2.0
Please use BX2 at https://github.com/richrd/bx2 .
The fastest way to serve logs would be via HTTP. That way IRC flood limits aren't a problem. The URL format could be something like
http://bot-domain-or-ip/logs/channel-name/2h/?temporary-access-key
It checks if the user has high priviliges (to allow getting logs from other windows). If the user has lower priviliges it warns "sry, that's not available" even though a different window wasn't specified.
Should only send all messages before the logs command was run.
Sample output (last line should be omitted):
13:18 <bx> [#channel] 11.05.15 13:04:
13:18 <bx> 13:04:38 <nick> hi what's up
13:18 <bx> 13:12:57 <wavi> hello
13:18 <bx> 13:13:46 <nick> .logs 20m
The bot will automatically append 'nick_suffix' to it's nick if the desired nick isn't available. When this occurs the fallback nick isn't properly stored in the 'me' user instance.
Hard to reproduce.
When a user asks for logs when they are already being sent to someone else, add the user to the queue. When the first user gets the logs, start sending to the queued user.
The bot sometime checks wether a specific user instance is the same as bot.me.
This is done to check if an event is related to the bot.
This should always be true, but fails sometimes:
bot.me == bot.GetUser(bot.me.nick)
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.