Commit graph

1003 commits

Author SHA1 Message Date
jesopo
58bc741177 Don't return 0 as "time until next ping" when we've already sent a ping. return
None instead.
2018-09-11 18:25:27 +01:00
jesopo
788ba239e5 Fix weird double indentation in IRCBot.py 2018-09-11 18:25:01 +01:00
jesopo
614f63bda3 Remove boot_time from stats.py, move it to start_time in IRCBot otherwise a
module reload of stats.py would reset !uptime
2018-09-11 18:24:34 +01:00
jesopo
80ec110640 Utils.irc_lower and Utils.irc_equals take an IRCServer parameter 2018-09-11 10:15:16 +01:00
jesopo
a8bf248d47 Fix copypaste fail in Utils that meant we had no RFC1459_LOWER 2018-09-11 10:14:37 +01:00
jesopo
9236327366 Forgot to import Utils in IRCServer 2018-09-11 10:14:12 +01:00
jesopo
6c8399fa0f Respect RFC1459 casemapping rules 2018-09-11 08:52:12 +01:00
jesopo
7530bb7cbd Pass around an IRCPrefix object instead of "nickname!username@hostname", fix a
bug in TAGMSG handling that was trying to get a user object from a channel, fix
a bug in ACCOUNT handling that was literally using "nickname" as a user's
nickname, instead of the parsed nickname.
2018-09-10 09:31:24 +01:00
jesopo
35ae1a57c7 Handle CHGHOST referencing the bot instead of another user 2018-09-10 09:10:43 +01:00
jesopo
ae78324c44 Typo, event["server"] -> server 2018-09-10 08:58:15 +01:00
jesopo
9916618889 Send '111' as the default WHOX token, not '001', as some servers cut that down
to '1'
2018-09-10 08:57:41 +01:00
jesopo
78171f7504 Add support for IRCv3's batch and draft/labeled-response 2018-09-10 08:57:10 +01:00
jesopo
aca5d78cee Standardise the "last" argument of a line; be that an :arbitrary or just the
last argument.
2018-09-10 08:56:21 +01:00
jesopo
451b4e7207 Fix a copypaste fail that pointed TAGMSG at ACCOUNT handling code 2018-09-09 23:23:16 +01:00
jesopo
e4a8ba06ca bitly-api-key isn't used anymore 2018-09-09 22:02:40 +01:00
jesopo
b902b2fb0c
Merge pull request #22 from dngfx/master
Replace bit.ly with is.gd
2018-09-09 21:59:30 +01:00
dngfx
5d8ad6a37a Replace bit.ly with is.gd. No API key, no beeping Bit. It's a win win! 2018-09-09 21:47:28 +01:00
jesopo
1172565ed6
Merge pull request #21 from dngfx/master
Fix regex in karma.py
2018-09-09 18:41:46 +01:00
dngfx
169d1705ac There's nothing regular about these expressions. 2018-09-09 18:39:56 +01:00
Dan
5cb70f7a7e
Merge pull request #8 from jesopo/master
Regex is dumb.
2018-09-09 17:36:47 +01:00
jesopo
4eaf9e5aeb Fix an incorrect call to event["stderr"] in karma.py 2018-09-09 17:34:44 +01:00
jesopo
59912776c1 Make commands be processed under received.message.* at PRIORITY_LOW, eat the
event when it's done, change karma.py to use PRIORITY_MONITOR
2018-09-09 17:09:04 +01:00
jesopo
2a37e10533 Change default priority to "medium", add priority lower than "low" ("monitor") 2018-09-09 17:08:38 +01:00
Dan
6ec7f95f6c
Pull in some more (#7)
* call_for_result should have a max of 1, not 0

* Tidy up indentation in tweets.py

* Change bitly.py to use delimited events
2018-09-09 16:26:03 +01:00
jesopo
908d64f5c6 Change bitly.py to use delimited events 2018-09-09 16:11:15 +01:00
jesopo
fc8e3818fe call_for_result should have a max of 1, not 0 2018-09-09 16:11:15 +01:00
Dan
165efe20b9
Recreate tweets.py because i'm lazy. 2018-09-09 16:11:02 +01:00
Dan
d8c4293dbc
Delete tweets.py 2018-09-09 16:09:51 +01:00
jesopo
67c89f0580 Change bitly.py to use delimited events 2018-09-09 16:07:39 +01:00
jesopo
7f647a40c5 Tidy up indentation in tweets.py 2018-09-09 16:07:18 +01:00
jesopo
bfdb4a88da call_for_result should have a max of 1, not 0 2018-09-09 16:06:48 +01:00
Dan
340100954b
Merge pull request #5 from jesopo/master
Pull the good stuff
2018-09-09 16:02:05 +01:00
dngfx
0fcee46ebf Should stop an error or two down the line. 2018-09-09 15:53:14 +01:00
jesopo
820523a28d
Merge pull request #20 from dngfx/master
Add bit.ly links to tweets
2018-09-09 15:50:48 +01:00
dngfx
a9e49fd36b Fix up tweets.py 2018-09-09 15:50:05 +01:00
dngfx
23fbc2cb95 Make URL shortening generic in tweets.py 2018-09-09 15:37:44 +01:00
dngfx
931c941f42 Fix spacing. 2018-09-09 15:35:32 +01:00
jesopo
8959b6cfd2 Utilise !serverset in more modules 2018-09-09 13:34:25 +01:00
jesopo
2fa7d9b8a9 Add nickserv-password and sasl to !serverset 2018-09-09 13:34:25 +01:00
jesopo
c3ebb32111 Don't add a qualifier for server settings 2018-09-09 13:34:25 +01:00
jesopo
87ff49c4d2 Add !serverset and !serverget 2018-09-09 13:34:25 +01:00
jesopo
561dcdf799 Switch set.py to use delimited events 2018-09-09 13:34:25 +01:00
dngfx
a5ff20fca3 i dun fixed it! 2018-09-09 13:34:32 +01:00
dngfx
2d4dbf922f h8 everything right now 2018-09-09 13:20:59 +01:00
dngfx
7aecd2b4ca WOOP WOOP THAT'S THE SOUND OF LINKS FOR TWEETS 2018-09-09 13:12:06 +01:00
jesopo
fd51d44c70 Utilise !serverset in more modules 2018-09-09 10:17:22 +01:00
jesopo
8b7cecda04 Add nickserv-password and sasl to !serverset 2018-09-09 10:04:21 +01:00
jesopo
2346eeffd0 Don't add a qualifier for server settings 2018-09-09 09:38:35 +01:00
jesopo
0f292f4617 Add !serverset and !serverget 2018-09-09 09:34:55 +01:00
jesopo
f2626a829b Switch set.py to use delimited events 2018-09-09 09:26:56 +01:00