Commit graph

20 commits

Author SHA1 Message Date
Joscha
b8bb75a897 Fix previous "lingering bot" bug
When using !spawnevil on @TestSummoner, the @TestSpawn which was
created would reconnect to the room because of faulty logic in
room._run(). This would cause a few errors to occur. Fixed now!
2017-09-04 16:32:32 +00:00
Joscha
1c3b9d0a20 Rework spawning and task structure
Still not working: See TestBot.py
2017-09-04 16:21:29 +00:00
Joscha
34e1ae4b8f Fix connection reply bug
Now, packet ids are always strings, except for self._pid.
2017-09-03 12:27:28 +00:00
Joscha
a199af40d9 Implement all basic room commands 2017-09-02 13:31:17 +00:00
Joscha
6cc8094e0d Clean up module structure 2017-09-02 12:58:54 +00:00
Joscha
dfad3241fb Make more events work (and use an annoying bot to test them) 2017-09-02 12:27:38 +00:00
Joscha
04364c6b3f Add basic functionality
Bots can now
 - stay connected
 - set their nick
2017-09-02 10:37:58 +00:00
Joscha
d0ad542b72 Fix some bugs. The TestBot can now connect to a room and stay connected. 2017-09-02 08:55:50 +00:00
Joscha
97b98c29f7 Start the rewrite (again) 2017-09-01 22:12:11 +00:00
Joscha
52f6b14838 Add error handling 2016-05-23 22:56:44 +02:00
Joscha
fbd7360914 Fix threading 2016-05-23 16:24:17 +02:00
Joscha
0159043895 Fix spelling mistkae 2016-05-23 02:40:49 +02:00
Joscha
b0d9953ed8 Make disconnect function public 2016-05-10 19:54:04 +02:00
Joscha
7e1947bd04 Move room format string to connection class 2016-05-10 16:54:18 +02:00
Joscha
4933caa6a9 Add url format as optional argument 2016-05-09 22:17:16 +02:00
Joscha
6d24f08924 Make adding callbacks for message replies easier 2016-05-09 21:16:54 +02:00
Joscha
507efbc654 Fix syntax and spelling mistkaes 2016-05-08 21:27:52 +02:00
joscha
d7e16e173f Add callbacks 2016-05-08 00:46:47 +02:00
Joscha
a0bd6b71bf Add callbacks for connect, disconnect and stop 2016-05-08 00:01:10 +02:00
Joscha
196edc88ec Move files into yaboli folder 2016-05-06 11:26:35 +02:00
Renamed from connection.py (Browse further)