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
676f9d395b
Implement the rest of the events
2017-09-02 16:37:31 +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
9b0195aa72
Fix command parsing
2016-05-26 02:43:04 +02:00
Joscha
615d1bb4c5
Check for message before comparing
2016-05-26 02:42:11 +02:00
Joscha
96865ad560
Don't lowercase in parsing function
2016-05-25 00:56:24 +02:00
Joscha
188198bc11
Fix colon placement in help text
2016-05-25 00:53:19 +02:00
Joscha
f91e3b8193
Fix infinite set_nick loop
2016-05-25 00:25:33 +02:00
Joscha
a99a8af110
Revert breaking change
2016-05-25 00:08:50 +02:00
Joscha
4a2e115381
Change formatting of bot names in bot listing
2016-05-24 23:40:34 +02:00
Joscha
c6bddec530
Pass created_in and created_by as arguments instead of setting them after creation
2016-05-24 23:21:34 +02:00
Joscha
76b88fb1e7
Pass created_in and created_by as arguments instead of setting them after creation
2016-05-24 23:04:54 +02:00
Joscha
2063477c58
Save and restore bots
2016-05-24 22:47:18 +02:00
Joscha
99796b3f93
Store created-by name in full, not mentionable format
2016-05-24 22:40:42 +02:00
Joscha
5b618fef36
Change "name" to "nick" where it makes sense
2016-05-24 22:40:05 +02:00
Joscha
ff454a2e13
Add option to only list commands to !help
2016-05-24 21:29:22 +02:00
Joscha
d87c61cd6c
Distinguish bot-specific commands
2016-05-24 20:42:24 +02:00
Joscha
434a3db0e2
Check for session before trying to return it
2016-05-24 20:42:05 +02:00
Joscha
6c7372441b
Convert time differences to int when formatting
2016-05-24 20:02:57 +02:00
Joscha
d3c8ed1404
Improve date and time difference formatting
2016-05-24 19:51:54 +02:00
Joscha
7550706798
Fix detailed help message
2016-05-24 19:50:51 +02:00
Joscha
086f2be721
Fix uptime formatting
2016-05-24 13:38:06 +02:00
Joscha
948237f9d3
Add error handling
2016-05-23 23:01:15 +02:00
Joscha
52f6b14838
Add error handling
2016-05-23 22:56:44 +02:00
Joscha
4bed261a3e
Prevent accidentally triggering other bots
2016-05-23 21:39:41 +02:00
Joscha
2571852ab9
Fix function name
2016-05-23 21:36:58 +02:00
Joscha
fce00ab4e3
Stop when password unknown
2016-05-23 21:35:31 +02:00
Joscha
e5c3d05941
Change !create to !clone
2016-05-23 21:35:01 +02:00
Joscha
8b12b62217
Fix spelling mistkae
2016-05-23 20:33:42 +02:00
Joscha
4defd70bbe
Use mentionable format when comparing names
2016-05-23 19:30:50 +02:00
Joscha
3d8940ab4e
Fix nick comparison
2016-05-23 17:55:22 +02:00
Joscha
1e8fc2fb96
Fix mentionable usage
2016-05-23 17:54:38 +02:00
Joscha
90e92ca2c8
Fix nick change error
2016-05-23 17:54:19 +02:00
Joscha
b9a723f701
Move mentionable to room
2016-05-23 17:53:24 +02:00
Joscha
4d59e67291
Get all sessions
2016-05-23 17:52:28 +02:00
Joscha
80bfb26362
Add more commands
2016-05-23 16:33:18 +02:00
Joscha
400da9c053
Add mentionable function to room
2016-05-23 16:32:45 +02:00
Joscha
c1f1da7603
Remove debug messages
2016-05-23 16:31:53 +02:00
Joscha
fbd7360914
Fix threading
2016-05-23 16:24:17 +02:00
Joscha
e332053380
Fix message mentionable formatting
2016-05-23 16:23:39 +02:00
Joscha
fdfb7cb7f1
Remove special formatting function
2016-05-23 16:22:47 +02:00
Joscha
c075287222
Add Bot and BotManager
2016-05-23 02:49:03 +02:00
Joscha
145cbe5fe2
Add exceptions
2016-05-23 02:48:45 +02:00