Commit graph

1715 commits

Author SHA1 Message Date
jesopo
978fc5a359
added a socket timeout to IRCServer socket objects. 2016-04-18 16:48:04 +01:00
jesopo
2015b1971c
added _cleanup(), a function called if present on a module before being unloaded. 2016-04-18 16:47:12 +01:00
jesopo
9c5f0d6035
added command-prefix to channel settings. 2016-04-14 16:48:44 +01:00
jesopo
98718546cf
added helper functions to IRCBot to utilise the new bot settings table. 2016-04-14 16:48:17 +01:00
jesopo
052e741da0
added a very unreliable and BAD IDEA way to unload modules. 2016-04-14 16:47:33 +01:00
jesopo
644b2ea630
added a new settings table for bot settings in general. 2016-04-14 16:44:27 +01:00
jesopo
390eff4c2b
added experimental module to track what nicknames are actually aliases for other nicknames. 2016-04-13 14:55:38 +01:00
jesopo
a2cde2ff18
fixed a part of the reconnection logic. 2016-04-13 14:55:19 +01:00
Evelyn
190d42fbb5 simpler boolean channel settings 2016-04-10 17:40:58 +01:00
jesopo
954a1b4dfc
added a confirmation of message save to in.py. 2016-04-10 17:32:51 +01:00
jesopo
ab05ea6509
beefed up the words.py module. 2016-04-10 17:32:33 +01:00
jesopo
1750c2b1ec
changed commands.py to show usage help (if available) when minimum arguments are not met. 2016-04-10 17:31:55 +01:00
jesopo
842de08b47
changed code to avoid a crash when some ircd will show a mode being removed from someone that didn't have it in the first place. 2016-04-10 17:31:05 +01:00
jesopo
d0be88ef3b
this was supposed to be in the last commit. oops. 2016-04-10 17:30:44 +01:00
jesopo
520a6ecd08
made the client-side ping-out logic more badass. 2016-04-10 17:29:03 +01:00
jesopo
eac1d127bd
added the code to prevent users using certain commands based on permissions. 2016-04-06 18:23:02 +01:00
jesopo
99299c9df5
made some finishing touches to todo.py. 2016-04-06 16:38:46 +01:00
jesopo
3ba307300f
added more code to deal with lastfm having a ridiculously unreliably structured API. 2016-04-06 16:22:52 +01:00
jesopo
20058c4b67
added an extra check related to the --require-config hashflag, causing a non-true value to be counted as not present. 2016-04-06 16:03:38 +01:00
jesopo
7f7a1f6d55
added spotify.py and soundcloud.py, updated bot.json.example. 2016-04-06 13:56:12 +01:00
jesopo
9b2556a65a
added usage help to a lot of modules, added a verbose option to karma.py. 2016-04-06 12:02:44 +01:00
jesopo
f8436957f1
changed README.md a little. 2016-04-06 09:41:25 +01:00
jesopo
afec1deb5c
added tracking certain words in words.py and fixed/changed a couple of things to allow it to work. 2016-04-06 09:40:49 +01:00
jesopo
27c0de701c
added words.py for keeping track of how many words people have said. 2016-04-05 18:43:17 +01:00
jesopo
e1188e153a
fixed a crash-causing bug in lastfm when userplaycount isn't present. 2016-04-05 18:42:36 +01:00
jesopo
efa8c91552
used set.py as an example for the new usage command. 2016-04-05 18:41:33 +01:00
jesopo
e8875ef17d
added a usage command to show usage help for commands. 2016-04-05 18:41:03 +01:00
jesopo
f19389ec8c
added todo.py. 2016-04-05 14:26:46 +01:00
jesopo
f9ce711b25
oops 2016-04-04 23:20:55 +01:00
jesopo
0f05dd7ea9
added a missing config option to bot.json.example. 2016-04-04 18:51:43 +01:00
jesopo
3c0a8562a9
ironed out some little issues with permissions.py. 2016-04-04 18:48:39 +01:00
jesopo
62a73df22f
added permissions.py which contains code for identifying/registering/logouting users. updated README.md to reflect the newly required scrypt module. 2016-04-04 18:42:37 +01:00
jesopo
436db4b9a8
added a way for command event hooks to ask to only be fired from private messages. 2016-04-04 18:41:07 +01:00
jesopo
d5e4c7bbe7
added code to youtube.py to prevent a crash when a video has likes/dislikes disabled. 2016-04-04 18:40:39 +01:00
jesopo
1cc28a5581
fixed showing track tags in lastfm.py. 2016-04-04 12:37:17 +01:00
jesopo
80818fad66
added an untested module requirement system. 2016-04-04 12:36:59 +01:00
jesopo
9567ad4784
added some more mode event firing and removed unneeded debug printing. 2016-04-04 12:36:23 +01:00
jesopo
a348bf4241
fixed some dumb typos 2016-04-03 17:08:48 +01:00
jesopo
e10ba5f293
added some more to the skeleton of the auto_mode module. 2016-04-03 13:23:47 +01:00
jesopo
504e93a78d
tinkered with some modules and fixed a few bugs, also added the skeleton for the auto_mode.py module. 2016-04-03 13:20:05 +01:00
jesopo
957947cf8d
added code to prevent newlines being where they shouldn't be in outgoing lines. 2016-04-01 10:46:00 +01:00
jesopo
8843d9a469
removed yet more left over code from when commands were channel-only. 2016-03-31 13:37:08 +01:00
jesopo
4bca2cb95d
fixed the frankly ridiculously wrong youtube url regex in youtube.py. 2016-03-31 13:36:26 +01:00
jesopo
19083d3bf6
added command line options to start.py for config file and database file locaitons. 2016-03-31 13:20:56 +01:00
jesopo
acc38b7460
made the args for IRCLineHandler functions global and added a timer-based channel join re-try. 2016-03-31 13:20:03 +01:00
jesopo
6dff99490c
added CTCP SOURCE and TIME responses. 2016-03-31 12:10:51 +01:00
jesopo
1c00b20d51
made the @ for the twitter command optional. 2016-03-31 12:10:18 +01:00
jesopo
810ba3f0bb
added a little piece of code to stop Utils.get_url trying to json decode an empty string. 2016-03-30 19:32:47 +01:00
jesopo
d8cce800d1
added untested reconnection code. 2016-03-30 19:32:14 +01:00
jesopo
87af05d4b6
added a "hashflag" to modules to stop modules being loaded that rely on a not-present config option. 2016-03-30 19:31:23 +01:00