Commit graph

3388 commits

Author SHA1 Message Date
jesopo
18a5d2087e Merge branch 'master' of github.com:jesopo/bitbot 2016-05-06 13:37:30 +01:00
jesopo
5338859e31
added a function to Utils to get the "closest" setting, with channel/user settings being more important than server-wide settings. 2016-05-06 13:36:01 +01:00
Evelyn
2df29ab76e more quotes 2016-05-04 14:31:45 +01:00
jesopo
9c9d7aa439
added wikipedia.py. 2016-05-04 13:30:31 +01:00
jesopo
9b6d8d2dc0
added bitcoin.py. 2016-05-03 11:58:42 +01:00
jesopo
bdf21643a3
made set/channelset settings consistent. 2016-05-01 22:47:59 +01:00
jesopo
3a7481315d
added a command to quotes.py to get a random quote from a category. 2016-05-01 17:47:35 +01:00
jesopo
c1f8835653
added quotes.py. 2016-04-29 12:43:48 +01:00
jesopo
5a27823244
added get_server to Database.py, for some future use. dunno. 2016-04-29 12:43:22 +01:00
jesopo
863bebb14e
added code to allow you to keep a server in the database but not connect to it. 2016-04-27 11:56:37 +01:00
jesopo
52deab53aa
added an error to the kickban command in channel_op.py for when a user is not present in a channel to be kickbanned. 2016-04-24 03:01:44 +01:00
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