Commit graph

2632 commits

Author SHA1 Message Date
jesopo
3fc7294539 exit when all servers are disconnected after ctrl+c 2019-10-11 17:06:37 +01:00
jesopo
0207e8e2b6 Revert "no longer treat ctrl+c as "shutdown" - bitbotctl will take this job"
This reverts commit 73e6ede8cc.
2019-10-11 15:41:51 +01:00
jesopo
73e6ede8cc no longer treat ctrl+c as "shutdown" - bitbotctl will take this job 2019-10-11 15:39:01 +01:00
jesopo
a5eca53f0a we need both id and server for !disconnect 2019-10-10 18:02:55 +01:00
jesopo
dd94f3a918 '.values()' -> '.items()' 2019-10-10 17:16:00 +01:00
jesopo
0960740aca dont say a vote has changed when it's been "changed" to the same option 2019-10-10 17:15:03 +01:00
jesopo
c2f075599d ignore invalid utf8 in markov log imports 2019-10-10 16:36:59 +01:00
jesopo
fe1c2c0205 'channel.find_setting()' -> 'channel.find_settings()' 2019-10-10 15:27:49 +01:00
jesopo
4db34b087d server.hostmask() already exists 2019-10-10 12:19:34 +01:00
jesopo
d91cd02d34 change badges.py to use utils.datetime_utcnow() - less code dupe 2019-10-10 12:17:10 +01:00
jesopo
0331b763ff refactor multi-line-to-line normalisation to utils.parse.line_normalise(), use it in rss.py
closes #174
2019-10-10 10:33:18 +01:00
jesopo
cf1002a2a9 strip HTML from RSS entry titles
closes #174
2019-10-10 10:20:44 +01:00
jesopo
97c439a9d7 !editserver only need an alias to exist, not to be currently connected 2019-10-09 20:56:38 +01:00
jesopo
87a7d74fc3 a chain has failed to generate if the result is the same as the input 2019-10-09 17:54:28 +01:00
jesopo
84ec6d812f format multi-line toots on a single line using things like double space 2019-10-09 16:44:54 +01:00
jesopo
5aba3f509e format multi-line tweets on a single line using things like double spaces 2019-10-09 15:35:20 +01:00
jesopo
1e1eeb9b7f only FORCE_SUCCESS for masterlogin when there's a permissions requirement 2019-10-09 14:29:25 +01:00
jesopo
6b8323b6f5 also split auto-title words on / 2019-10-09 12:58:25 +01:00
jesopo
27da1f314b [:,] shouldn't be optional because the wider group is 2019-10-09 10:33:31 +01:00
jesopo
7ea434e62e only accept space between word and modifier for word karma when : or , 2019-10-09 10:31:56 +01:00
jesopo
a43edd17ae duck_active should be when the duck spawns 2019-10-08 21:52:26 +01:00
jesopo
90df25cd8d typo, 'timer.repo()' -> 'timer.redo()' 2019-10-08 17:03:57 +01:00
jesopo
a2ccf85abf duck-prevent-highlight by default, improve !friends/!enemies query 2019-10-08 16:28:52 +01:00
jesopo
5035a5370c default !friends/!enemies to be for the current channel 2019-10-08 16:20:52 +01:00
jesopo
44a635b708 prefer url over id as it's usually a more user-friendly url 2019-10-08 16:07:35 +01:00
jesopo
921e59e0f8 !isupraw -> !tcpup 2019-10-08 16:02:29 +01:00
jesopo
ee64bfc5fc look back in logs for URL when non is provided to !isup 2019-10-08 15:56:25 +01:00
jesopo
15782908db add !isupraw - to check if a tcp connection is possible to a target
closes #120
2019-10-08 15:46:15 +01:00
jesopo
4157574516 show $n/$u/$h for ban-format-account help too 2019-10-08 15:08:16 +01:00
jesopo
d0aa1d34f1 don't consume ":"/"," in a karma target 2019-10-08 15:03:24 +01:00
jesopo
a5e489655d move !which to help.py 2019-10-08 14:48:39 +01:00
jesopo
c547df81dd add !apropos - to show commands with a given string in them
closes #133
2019-10-08 14:45:46 +01:00
jesopo
0226b48b0c do not permit a space between () and karma modifier 2019-10-08 14:34:14 +01:00
jesopo
1b3ee1cb89 only show twitter url when one was not provided initially 2019-10-08 14:21:15 +01:00
jesopo
37e375c31f allow !markovfor outside a channel when you share the channel with bitbot 2019-10-08 14:03:09 +01:00
jesopo
355689bb35 send ducks 5-20 seconds after the message that triggered it 2019-10-08 13:57:26 +01:00
jesopo
7a5edccb98 transient timers shouldn't use the event system 2019-10-08 13:49:55 +01:00
jesopo
513f8a1ddd only show youtu.be url when one was not provided
closes #171
2019-10-08 11:39:14 +01:00
jesopo
6a0d41f069 make 'sasl' setting 'sensitive' 2019-10-07 13:12:17 +01:00
jesopo
5c3510fe7c Setting.format() should effect when you change a setting, mostly for
SensitiveSetting
2019-10-07 13:11:58 +01:00
jesopo
50d1eb6b8c combine find_setting() and find_setting_prefix() on user/channel/server/bot 2019-10-07 12:46:52 +01:00
jesopo
cac8cb7b7e better help/usage for quote.py commands
closes #92
2019-10-04 15:25:53 +01:00
jesopo
3d7f6c9924 only allow !to against users bitbot has seen before
closes #111
2019-10-04 15:20:38 +01:00
jesopo
70aceab622 exclude lines with URLs in them from creating markov chains
closes #156
2019-10-04 15:14:43 +01:00
jesopo
472b5ba9f0 support !fedi with a URL to a Note 2019-10-04 13:06:29 +01:00
jesopo
8938e119b4 expand apikey command to list, add, remove and info
closes #123
2019-10-04 12:39:36 +01:00
jesopo
843440ac97 preprocess.command returns now need action, message returns 2019-10-04 12:05:28 +01:00
jesopo
432fd39441 also stop markov chain if we chose None 2019-10-04 11:57:11 +01:00
jesopo
8e4c0f4963 ignore one-char "words" in <title> if they're not a "letter" 2019-10-04 11:20:35 +01:00
jesopo
8f927afdc9 don't auto-title when a URL contains most of it's <title> 2019-10-04 10:52:07 +01:00