Commit graph

4053 commits

Author SHA1 Message Date
jesopo
d385d73dab use PRIORITY_URGENT in perform.py 2018-07-16 00:41:08 +01:00
jesopo
e06d5f37f8 switch to using configparser for config files 2018-07-16 00:36:52 +01:00
jesopo
2012a388da move sasl logic to it's own module 2018-07-15 23:56:06 +01:00
jesopo
2b30ffc71b fix print_activity still using old EventManager priority location 2018-07-15 23:55:21 +01:00
jesopo
f84a05aec5 check if a channel is in attempted_join before attempting rejoin 2018-07-15 23:54:27 +01:00
jesopo
8307a1121a move priority constants to root of EventManager namespace 2018-07-15 23:53:59 +01:00
jesopo
66397cb24a Made part/quit print_activity functions more uniform 2018-07-15 15:22:37 +01:00
jesopo
d3e8920e2a Use QUOTES.items() in quit.py 2018-07-15 15:19:11 +01:00
jesopo
68298bbccf Added EventHook.call_for_result to get a result or default from an event 2018-07-15 15:15:52 +01:00
jesopo
06de65b1c1 Move quit quotes to it's own module 2018-07-15 15:09:11 +01:00
jesopo
01f9f51ef2 print_messages->print_activity, print more things! 2018-07-15 14:14:20 +01:00
jesopo
ace82e49e5 Send events when BitBot sends a PRIVMSG 2018-07-15 14:13:51 +01:00
jesopo
44362a1f03 added more vertical whitespace to IRCChannel 2018-07-15 13:39:15 +01:00
jesopo
6500d595ae Allow own usermodes to have args, added some vertical whitespace in IRCServer 2018-07-15 13:30:27 +01:00
jesopo
f961c95de9 only pass things needed through events, not **data.map() 2018-07-14 10:18:28 +01:00
jesopo
718da30728 skip !more's out/err, added a way to split messages from their prefixes for
logging purposes
2018-07-14 09:50:12 +01:00
jesopo
7d9f3dc6e4 Allow translate source/target languages to be more than 2 chars 2018-07-14 09:06:52 +01:00
jesopo
d12b61620d Implemented delimited "event chains" and changed pong.py to use it 2018-07-08 11:18:55 +01:00
jesopo
e17bb692f2 IRCChannel.modes isn't a list, "sever" -> "server" 2018-07-02 16:34:29 +01:00
jesopo
29c55246b0 Clear default mode prefixes when we get a 005 with mode prefixes in it 2018-07-02 16:25:34 +01:00
jesopo
fe89164077 Default IRCServer.mode_prefixes to @+(ov) 2018-07-02 16:24:00 +01:00
jesopo
9f76de304f server.mode_prefixes is a dictionary 2018-07-02 16:19:22 +01:00
jesopo
84cc65526f Track user channel modes by user object, not nickname 2018-07-02 16:15:26 +01:00
jesopo
ae9d715e55 Added guid functionality to random_number.py 2018-07-02 14:45:25 +01:00
jesopo
dc0babe599 Accept http and https soundcloud urls 2018-07-02 14:34:46 +01:00
jesopo
50bf76d795 Add logic in soundcloud.py to accept urls and search back through log for urls 2018-07-02 14:33:38 +01:00
jesopo
b27610e23d Fixed translate.py 2018-07-02 12:51:36 +01:00
jesopo
7affd3b9f3 Add missing on_kick event hook in channel_save 2018-07-02 12:51:18 +01:00
jesopo
035d62f9d4 Added an event hook priority system 2018-07-02 12:23:33 +01:00
jesopo
f6a5d97842 Don't make a database cursor per thread as there should only be 1 thread 2018-07-02 12:13:54 +01:00
jesopo
e89b4b6a83 Don't add a server to bot.servers until it's connected 2018-07-02 12:08:26 +01:00
jesopo
cb486d6122 random.py -> random_number.py due to name collision (stdlib) 2018-07-02 11:09:49 +01:00
jesopo
3c138c1d18 If BitBot is kicked from a channel, remove from channel_save 2018-07-02 11:09:22 +01:00
jesopo
464510cd80 OMDBAPI now needs an api key 2018-07-02 11:09:02 +01:00
jesopo
685364d56d Fixed small type in IRCServer 2018-07-02 11:08:39 +01:00
jesopo
1148aad8a4 added handle_KICK to IRCLineHandler 2018-07-02 11:08:04 +01:00
jesopo
9f6a3b600a Remove commented example raw IRC line from IRCLineHandler 2018-06-17 12:51:23 +01:00
jesopo
d84cb62180 Added first version of print_message to prettyprint log certain activities 2018-05-02 07:30:16 +01:00
jesopo
11ddb1fca5 Remove rickroll 2018-05-02 07:20:52 +01:00
jesopo
dcd0c0a542 Use IRCServer.original_nickname in perform.py as we might not have our "given" nickname yet 2018-05-02 07:20:13 +01:00
Evelyn
b6d34eb3f8 Remove debug print 2018-02-15 18:09:19 +00:00
Evelyn
b85d7bd3b5 NR: Don't titlecase Eagle station names. This is already done. 2018-02-04 09:42:09 +00:00
Evelyn
840fbcdb10 Merge branch 'master' of github.com:jesopo/bitbot 2018-02-04 09:27:54 +00:00
Evelyn
922ba20117 NR: Eagle endpoints are now under /json/ going forward 2018-02-04 09:27:35 +00:00
jesopo
46d8bd879e Fix crash on PRIVMSG with nothing but whitespace 2018-01-13 22:21:53 +00:00
jesopo
c7303b3e66 assert statements are optimised out, these statement were useless. 2018-01-09 15:35:33 +00:00
jesopo
5794b3cd92 Added option to ban highlight spammers instead of just kicking them 2017-12-26 13:51:10 +00:00
jesopo
14ffa6716d Added highlight spam detection/prevention logic to channel_op 2017-12-26 11:50:18 +00:00
jesopo
0cc72d5d66 Added a "replay" system to EventManager hooks, to replay missed .calls 2017-12-26 10:32:36 +00:00
Evelyn
62ac516d1f NR: Indicate interesting activity at locations 2017-12-10 15:20:48 +00:00