Commit graph

4080 commits

Author SHA1 Message Date
jesopo
cf5294a835 don't duplicate event["user"].nickname for prettified invite format 2019-11-14 11:59:50 +00:00
jesopo
c5870e3d36 typo, 'prettyb' -> 'pretty 2019-11-14 11:56:57 +00:00
jesopo
9af23c686d pretty will always be in event but it might be None 2019-11-14 11:55:59 +00:00
jesopo
9abc668c0a don't let RSS shortening failure CRITICAL the whole bot 2019-11-14 11:54:10 +00:00
jesopo
160fab8f4f separate formatted lines from pretty formatted lines 2019-11-14 11:48:51 +00:00
jesopo
8ccbeb54d7 Show more fediverse errors to the end user 2019-11-14 10:53:34 +00:00
jesopo
76212faed4 change formatted JOIN to have userhost in parens 2019-11-13 11:19:28 +00:00
jesopo
a1e9aabb84 add typehinting for foreground/background 2019-11-13 10:47:58 +00:00
jesopo
5d2dd9178f only set color_finished=True when is_background, otherwise next char sets it 2019-11-13 10:43:15 +00:00
jesopo
d06efdabed change formatted NOTICEs to be denoted by "-nick-" (PRIVMSG as "<nick>") 2019-11-11 18:02:15 +00:00
jesopo
46058c51c5 support !duckstats for users other than yourself 2019-11-11 17:21:40 +00:00
jesopo
3766262eab change git_webhooks hashes from 8 characters to 7 2019-11-11 13:38:09 +00:00
jesopo
7d1cdd2251 prepend user nickname to command error messages 2019-11-11 13:26:14 +00:00
jesopo
9fa128fcc9 colorize nicknames on more line formatting events 2019-11-11 13:07:41 +00:00
jesopo
8a8bd8a77e colorize nicks on JOIN formatting 2019-11-11 12:49:45 +00:00
jesopo
b7bfd414be hash_colorize code should first be looked up in HASH_COLORS 2019-11-11 12:48:37 +00:00
jesopo
727fb3427d .lower() strings when hash-colorizing them 2019-11-11 12:40:36 +00:00
jesopo
d43e96f7e7 add bot-wide option to colorize nicknames in formatted output 2019-11-11 12:20:27 +00:00
jesopo
ac30f8d4cc don't use hash() for hashed colorising as it's not stable through restarts 2019-11-11 12:13:46 +00:00
jesopo
2ad8623eb3 add utils.irc.hash_colorize() to color a string by the string's hash 2019-11-11 12:06:16 +00:00
jesopo
dc52200af8 handle .connect() failure in bitbotctl 2019-11-11 11:52:35 +00:00
jesopo
9460238917 move tfl.py to bitbot-modules 2019-11-08 17:58:04 +00:00
jesopo
8eae040240 remove unneeded imports in tfl.py 2019-11-08 17:42:30 +00:00
jesopo
c20a31aa72 rewrite tfl.py 2019-11-08 17:41:29 +00:00
jesopo
98183fe4b9 add IRCArgs.append func 2019-11-08 17:41:18 +00:00
jesopo
b41588b098 Don't assign keys to an array index that doesn't exist yet 2019-11-08 17:05:09 +00:00
jesopo
b4de61d009 JOIN keys should be comma separated too 2019-11-08 16:15:58 +00:00
jesopo
5fcf18313e silently eat Control socket .send() failures 2019-11-08 13:38:07 +00:00
jesopo
f2a13f9015 don't get far in to attempting sasl when we haven't got it configured 2019-11-08 13:34:05 +00:00
jesopo
e26d769b7b refactor sasl a little and fix logic to retry on 908 2019-11-08 13:30:08 +00:00
jesopo
f8083ae7b4 switch to a better python eval API 2019-11-08 12:46:25 +00:00
jesopo
1231067012 'server_mechanimsms' -> 'server_mechanisms' typo 2019-11-08 10:20:23 +00:00
jesopo
5dc1ea3ffa move on to command.regex if a given command isn't found 2019-11-06 13:05:41 +00:00
jesopo
fa28e4e7b2 add !c as an alias of !config 2019-11-05 12:51:10 +00:00
jesopo
28d3da85b4 !seen should get seen-info for target user, not current user 2019-11-04 15:33:57 +00:00
jesopo
983c7151ae show branch name in !version output 2019-11-04 13:40:16 +00:00
jesopo
09fe1c5a70 don't stop parsing colors at comma 2019-11-04 13:33:10 +00:00
jesopo
2642bd7dac show when a fediverse Note is nothing but an attachment 2019-11-04 13:19:37 +00:00
jesopo
516884acb8 only .decompose() when it's an empty and unknown tag 2019-11-04 12:51:24 +00:00
jesopo
62781badc4 better line normalisation for fediverse Activities 2019-11-04 11:18:34 +00:00
jesopo
bcdffacab5 add on_pause() and on_resume() for module - use in rest_api.py 2019-11-04 10:52:41 +00:00
jesopo
754269576a change labeled-response WARN logging to DEBUG - it's mostly unimportant 2019-11-04 10:17:47 +00:00
jesopo
106d7d7ff8 v1.14.0 release 2019-11-04 10:13:48 +00:00
jesopo
423e6b00b6 remove !timezone as !time now shows UTC offset 2019-11-04 10:11:57 +00:00
jesopo
9de95d17e5 how many times can i typo "utc" 2019-11-03 12:50:47 +00:00
jesopo
352f6b26d3 "GMT" -> "UTC" 2019-11-03 12:48:50 +00:00
jesopo
4826ac67f8 show "published" for "updated" releases - seems theres a bug that prevents the former 2019-11-01 17:58:07 +00:00
jesopo
80b89567dd v1.14.0-rc1 release 2019-11-01 16:11:39 +00:00
jesopo
94643f9b24 update CHANGELOG.md 2019-11-01 16:11:17 +00:00
jesopo
79beb17aa3 show GMT offset in !time output 2019-11-01 16:06:35 +00:00