Commit graph

1377 commits

Author SHA1 Message Date
jesopo
f85ab987c4
decided to not track user realnames as there's no real purpose and it means bitbot does not have to whois newly joined people. 2016-04-22 11:48:59 +01:00
jesopo
00dd425210
added an op command to channel_op.py. 2016-04-22 11:48:28 +01:00
jesopo
5e9574e195
added a timeout error and fixed the regex on karma.py. 2016-04-21 00:09:30 +01:00
jesopo
0e37fca35a
added code that i forgot to add to keep track of the info of new users, also fixed a messup in indexes assuming all whoises were about himself. 2016-04-20 22:57:16 +01:00
jesopo
c5c53bc481
added hash.py. why not. 2016-04-20 13:52:23 +01:00
jesopo
c7c5e800fe
fixed a broken usage of the timer system. (functions are not json-able!) 2016-04-19 13:26:31 +01:00
jesopo
bc12c77891
did what I said I would sooner than I thought I would. centralised persisting timers through bot restarts. 2016-04-19 13:25:50 +01:00
jesopo
9eff1b8931
entirely reworked the timer system to work with the event system, will eventually persist all timers to database until complete in a central way. 2016-04-19 12:21:27 +01:00
jesopo
ce4f0f68b0
fixed words.py to always show nicknames with the same count in the same order. 2016-04-18 16:51:06 +01:00
jesopo
1127682872
added a way for a command callback to neatly ask to only be available for people with a rank or above, added a channel_op module to utilise this. 2016-04-18 16:50:19 +01:00
jesopo
100fad4599
added some code to the nickname_aliases module, I do not trust this module yet. :| 2016-04-18 16:49:21 +01:00
jesopo
2d729b68c3
started passing some more helpful info when preprocessing a command. 2016-04-18 16:48:36 +01:00
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