Commit graph

1988 commits

Author SHA1 Message Date
jesopo
d00d026461 allow short names for config contexts. people mistook "user" as "put your
nickname here" so having just "u" might prevent this
2019-06-19 10:28:53 +01:00
jesopo
43108b96ba show nickname in NO_DUCK non-kick message 2019-06-19 10:22:46 +01:00
jesopo
6d034c3b42 Move !help to it's own module and entirely rework its interface 2019-06-18 17:34:16 +01:00
jesopo
77ea95f0a9 Remove "!" from help strings 2019-06-18 17:33:42 +01:00
jesopo
00d7da9967 location_name will not be defined when querying a location instead of a user 2019-06-18 16:53:57 +01:00
jesopo
b3b8c6534b Remove debug prints 2019-06-18 16:51:00 +01:00
jesopo
398bd7e117 use "city, state, country" for formatted location name when available 2019-06-18 16:50:46 +01:00
jesopo
14303f354c 'location' wasn't the variable i thought it was 2019-06-18 16:40:42 +01:00
jesopo
d43cef6543 Save location name from geocoding, use it for !w when available
closes #71
2019-06-18 16:36:22 +01:00
jesopo
2ed1cf2e4a Only try to show !w country when it is available. closes #72 2019-06-18 16:35:51 +01:00
jesopo
3c51348fec Implement +bitbot.dev/mulitline-concat to concat line to previous line 2019-06-18 15:18:56 +01:00
jesopo
621830c360 Simplify SentLine by shifting truncation to ParsedLine (and commands.outs) 2019-06-18 14:14:37 +01:00
jesopo
88e796e334 check-mode and channel-access should reference the computed target, not
"current channel"
2019-06-18 08:01:20 +01:00
jesopo
312b0af645 Change vote, instead of rejecting, when people vote twice 2019-06-17 22:31:27 +01:00
jesopo
37fd78ff27 Change vote ids to be 6 chars, instead of 8 2019-06-17 21:39:43 +01:00
jesopo
4bcc02f32d WARN log for soft SASL failure 2019-06-17 18:22:12 +01:00
jesopo
ee9a67730a _end_sasl takes a server param 2019-06-17 18:11:02 +01:00
jesopo
7df8082e72 Update help/usage strings for vote.py 2019-06-17 18:08:02 +01:00
jesopo
966515bd24 Make sure new random ids are unique 2019-06-17 17:54:41 +01:00
jesopo
96d2a1fae6 Support multiple concurrent votes 2019-06-17 17:51:42 +01:00
jesopo
738a353c52 support recalling results of old votes 2019-06-17 16:36:48 +01:00
jesopo
933668f0a3 Allow admin users to start/end votes 2019-06-17 16:30:23 +01:00
jesopo
31503f3f75 first draft of vote.py 2019-06-17 16:29:14 +01:00
jesopo
47acd4adc3 Add a setting to disable "hard" sasl failure 2019-06-17 14:22:08 +01:00
jesopo
72ce880478 Only panic() when a server connection is part of bot init. closes #69 2019-06-17 14:20:11 +01:00
jesopo
0c02368023 panic() if a sasl dance fails on first connection, disconnect on reconnect sasl
fail
2019-06-17 14:07:44 +01:00
jesopo
76a2c66b3e Show what the given context was when it's unknown 2019-06-17 11:29:36 +01:00
jesopo
99a314ed01 Catch _to_context ValueError and show pretty error 2019-06-17 11:27:48 +01:00
jesopo
ced59a0f74 Allow channel-access and channel-mode check for channels people are not in 2019-06-16 20:48:31 +01:00
jesopo
73aa55b866 Support 'channel-access' check request referencing current channel 2019-06-16 20:45:14 +01:00
jesopo
98e1202c78 Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
2019-06-16 18:40:25 +01:00
jesopo
75f60caaf8 'multi-line' -> 'multiline' 2019-06-16 17:20:31 +01:00
jesopo
4b61f837fb 'timeout' -> 'cooldown'. closes #60 2019-06-16 17:05:40 +01:00
jesopo
002e1333a4 Add auto-github-timeout to prevent duplicate auto-githubs 2019-06-16 16:57:22 +01:00
jesopo
5fa3d66a39 Return all caps through received.cap.ls|new and check if valid in line_handler,
remove server.cap_started
2019-06-16 15:33:20 +01:00
jesopo
3a18229a73 Parse inbound bitbot.dev/multi-line batches 2019-06-16 10:03:46 +01:00
jesopo
ef10207a73 Send target as batch argument 2019-06-16 10:03:28 +01:00
jesopo
33de403685 Implement bitbot.dev/multi-line 2019-06-16 09:53:12 +01:00
jesopo
5b58cc05b6 Check that we have enough PRIVMSG args for strip_color.py 2019-06-16 09:52:04 +01:00
jesopo
c9de95f44a forgot to pass stdout and stderr to command callbacks! 2019-06-16 09:51:45 +01:00
jesopo
8ab4880c5c Change from yield checks to a func in events that pass up EventErrors 2019-06-15 18:42:14 +01:00
jesopo
cb2cab627f Remove debug yield check 2019-06-15 18:41:04 +01:00
jesopo
fd35acb01b Request draft/event-playback when available 2019-06-15 00:49:14 +01:00
jesopo
1d8173f607 copypaste fail, setting_info -> export_settings[setting] 2019-06-14 17:39:11 +01:00
jesopo
e814494777 Show example (when available) for "invalid value" error 2019-06-14 17:35:12 +01:00
jesopo
229a45a491 Change prviate channel_access commands to use a "channel-access" yield check 2019-06-14 17:23:22 +01:00
jesopo
f8b086b095 "saved a duck" -> "befriended a duck" 2019-06-14 17:11:44 +01:00
jesopo
9b5f946cec 80 col wrap 2019-06-14 17:11:36 +01:00
jesopo
359e977d18 Don't let users change settings for other channels when they have +o in the
current channel
2019-06-14 16:34:48 +01:00
jesopo
50e9f56ca3 Show when a server connected instead of "bytes read/written per second" in stats
endpoint
2019-06-14 16:12:03 +01:00