gnulag / circ Goto Github PK
View Code? Open in Web Editor NEW#gnulag's IRC bot
License: BSD 2-Clause "Simplified" License
#gnulag's IRC bot
License: BSD 2-Clause "Simplified" License
Register scheme plugins only with their proper hook in the core so we don't have the main parsing done twice unnecessarily.
Will also need to implement a regex match for parts of the message, which is needed anyways for proper module support
<flotwig> my thirst for kicks will never be satisfied
<flotwig> circ feature request: kick lurkers
<flotwig> everyone gets a timer that starts when they join and is reset when they speak
<flotwig> if it hits 2 days, yer out
Bot should be written in Common Lisp.
When sending a PM to circ there is a potential for an endless loop.
This is caused by us taking the first argument of the IRC Raw Message as a return address, which is correct for channels but not for PMs.
A PM Message
:audron!audron@user/audron PRIVMSG circ :%ping
^ we use this argument
We will need to implement a check for if this argument is our own name, and if it is we need to use the prefix to send the reply
This is the official #gnulag bot and there are no useless memes in our code. This feels very wrong and should be fixed ASAP or we'll become SERIOUS
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7f89b05 in clear_pending (w=0x47c1c0, w=0x47c1c0, loop=0x7ffff7f93720 <default_loop_struct>)
at ev.c:3818
3818 pendings [ABSPRI (w)][w->pending - 1].w = (W)&pending_w;
(gdb) bt
#0 0x00007ffff7f89b05 in clear_pending (w=0x47c1c0, w=0x47c1c0, loop=0x7ffff7f93720 <default_loop_struct>)
at ev.c:3818
#1 0x00007ffff7f89b05 in ev_io_stop (loop=0x7ffff7f93720 <default_loop_struct>, w=0x47c1c0) at ev.c:3897
#2 0x000000000040b957 in irc_do_event_loop (s=0x43cf40)
at /home/audron/repo/github.com/gnulag/circ/libirc/irc.c:204
#3 0x0000000000406b6f in main (argc=1, argv=0x7fffffffda78)
at /home/audron/repo/github.com/gnulag/circ/src/circ.c:81
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.