3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-30 07:59:42 +01:00
Commit Graph

2024 Commits

Author SHA1 Message Date
Pragmatic Software
207fcba402 Plugins: add replug command 2019-05-08 21:06:56 -07:00
Pragmatic Software
3c3a96461e Minor bugfix for two rarely used plugins 2019-05-08 21:06:10 -07:00
Pragmatic Software
62387c48ef findfactoid now accepts a -regex flag to do a regex search instead of whole-word 2019-05-08 20:48:26 -07:00
Pragmatic Software
d22fe7972d Update version 2019-05-08 20:09:50 -07:00
Pragmatic Software
4ce8e8b316 Increase minimum factoid name length to 60 2019-05-08 20:09:34 -07:00
Pragmatic Software
02c8cfd83b FactoidCommands: allow non-admins to inspect factset values on factoids they do not own, and to be able to factset admin on any factoids instead of using factchange 2019-05-08 13:06:30 -07:00
Pragmatic Software
15aaa6fa1a Spinach: allow non-admins to inspect settings values 2019-05-08 12:48:10 -07:00
Pragmatic Software
e1b6c2d64a Spinach: Use ancestor account id to unify all nicks belonging to one person 2019-05-08 01:39:52 -07:00
Pragmatic Software
f0c0f26138 MessageHistory: Add wrapper to get ancestor id directly from message account 2019-05-08 01:38:59 -07:00
Pragmatic Software
c5c905e74f Spinach: Add commands to show/set game state; improve logging of state 2019-05-08 01:37:00 -07:00
Pragmatic Software
13a1791d2f Update version 2019-05-07 19:57:13 -07:00
Pragmatic Software
0f8966a9ff No longer trips over its feet 2019-05-07 19:57:09 -07:00
Pragmatic Software
acc1c45ba3 Update version 2019-05-07 12:51:29 -07:00
Pragmatic Software
a0359c27dd Spinach: Immediately stop game when last player exits 2019-05-07 03:26:40 -07:00
Pragmatic Software
a75c4b4a65 Update version 2019-05-07 02:19:29 -07:00
Pragmatic Software
d73d5825b6 Spinach: Bug fixes and improvements 2019-05-07 02:19:03 -07:00
Pragmatic Software
7f8272c0f3 Spinach: Do not attempt to choose categories that do not contain questions that meet game configuration (min_difficulty, seen_expiry, etc); slightly speed up some delays 2019-05-06 21:08:09 -07:00
Pragmatic Software
c032450d82 Spinach: Correct extremely minor typo 2019-05-05 23:17:33 -07:00
Pragmatic Software
39952413c7 Update version 2019-05-05 23:11:52 -07:00
Pragmatic Software
e4cddeb54e Spinach: Add difficulty settings; minor bug fixes and improvements 2019-05-05 23:11:45 -07:00
Pragmatic Software
755febc2d7 Update version 2019-05-04 19:32:32 -07:00
Pragmatic Software
e81826e5bd Spinach: Oops, fix bug 2019-05-04 19:32:28 -07:00
Pragmatic Software
8fbc6eda80 Update version 2019-05-04 19:28:50 -07:00
Pragmatic Software
f7825b996e Spinach: add keep command to vote to prevent question from being skipped 2019-05-04 19:28:34 -07:00
Pragmatic Software
f8d8cac7d4 Interpreter: case-insensitive "Why would I want to do that to myself?" exceptions 2019-05-04 19:04:11 -07:00
Pragmatic Software
0538a37678 MessageHistory: recall is now aware of mock 2019-05-04 14:52:25 -07:00
Pragmatic Software
6d08967780 Update version 2019-05-03 17:19:22 -07:00
Pragmatic Software
0b500616b9 Spinach: Remove debugging statements 2019-05-03 17:18:59 -07:00
Pragmatic Software
a3d0f4e0d4 Spinach: sort questions by last_seen timestamp; skip categories whose questions have all been seen; etc 2019-05-02 23:13:27 -07:00
Pragmatic Software
d23af40565 Update version 2019-05-02 15:04:08 -07:00
Pragmatic Software
2c66a7144b Factoids: Properly look-up root keyword data when overriding 2019-05-02 15:04:04 -07:00
Pragmatic Software
06c22f8fda Update version 2019-05-02 14:09:50 -07:00
Pragmatic Software
1ff38eaacc Factoids: root keyword can now be overridden 2019-05-02 14:09:33 -07:00
Pragmatic Software
1f6d655a3e Factoids: Fix broken ref_from when using factfind on an alias 2019-05-02 12:39:05 -07:00
Pragmatic Software
60f279759c Spinach: Lowercase question if more than 80% of the words are title-cased 2019-05-02 12:06:45 -07:00
Pragmatic Software
e09751e0d2 Update version 2019-04-28 01:14:38 -07:00
Pragmatic Software
25b3417080 Spinach: add stats metadata setting; 2nd to last warning time remaining message is now yellow' 2019-04-28 00:21:15 -07:00
Pragmatic Software
7de3cb6dd1 Spinach: show expression used in output for rank expr 2019-04-27 19:09:43 -07:00
Pragmatic Software
8bd1a00ce2 Rectify minor whitespace ugliness 2019-04-27 14:45:59 -07:00
Pragmatic Software
2e41641037 Update version 2019-04-27 14:40:37 -07:00
Pragmatic Software
1a74f7287e Spinach: rank can now accept arbitrary expressions 2019-04-27 14:40:28 -07:00
Pragmatic Software
9707e133ff Spinach: remove ^(THE|A|AN) in answer normalization; fix rolling average score calculation 2019-04-26 22:20:54 -07:00
Pragmatic Software
c15740a820 Spinach: remove decimals from avgscore output 2019-04-26 12:44:20 -07:00
Pragmatic Software
a599a78444 ChanOps: Don't attempt to gain ops for disabled channels 2019-04-25 14:11:54 -07:00
Pragmatic Software
a927ee27a2 Update version 2019-04-24 23:04:15 -07:00
Pragmatic Software
59b5f61de3 Spinach: Rename Stats.pm and Statskeeper.pm 2019-04-24 23:04:09 -07:00
Pragmatic Software
1c5ed2fb0e Update version 2019-04-24 03:55:56 -07:00
Pragmatic Software
940b40e24f Spinach: add stats tracking and ranking 2019-04-24 03:55:48 -07:00
Pragmatic Software
b2b74875e1 Spinach: Add settings metadata: category_autopick and min_players 2019-04-23 18:41:57 -07:00
Pragmatic Software
0b0390dbd7 Spinach: add set/unset commands to modify metadata 2019-04-23 18:22:52 -07:00
Pragmatic Software
781faa678b Spinach: use HashObject to store metadata 2019-04-23 17:59:39 -07:00
Pragmatic Software
958c0bfeb5 Update version 2019-04-22 15:51:20 -07:00
Pragmatic Software
7542e1041f Spinach: Persist filters 2019-04-22 15:51:09 -07:00
Pragmatic Software
f61addcbac Update Spinach filter to distinct inclusion and exclusion 2019-04-21 20:48:07 -07:00
Pragmatic Software
85841ea45c Spinach categories can now be filtered 2019-04-21 19:00:17 -07:00
mannito
d179b87c52 Connect4 fixes: board display and challenge options parsing (#48)
* Connect4: Fix winner_line display logic

* Connect4: Fix challenge options parsing and cleanup.

* Connect4: saner board sizes and error messages
2019-04-21 02:19:48 -07:00
Pragmatic Software
c1f9c902c8 Update version 2018-08-13 20:06:13 -07:00
Pragmatic Software
42f0bb7002 Interpreter: ignore bot commands from unidentified users in +z channels 2018-08-13 20:06:07 -07:00
Pragmatic Software
93b386b0ca RelayUnreg: Correct notification timeout behavior 2018-08-13 20:05:42 -07:00
Pragmatic Software
07c9762cb7 Update version 2018-08-13 14:26:01 -07:00
Pragmatic Software
75f6d86a88 AntiFlood: disregard unreg spam floods on +z channels 2018-08-13 14:25:35 -07:00
Pragmatic Software
8e615fe6a3 MessageHistory: ensure host is always normalized for get_message_account() 2018-08-13 14:24:37 -07:00
Pragmatic Software
fb2124632a AntiRepeat: Disregard unregistered spam 2018-08-13 14:23:47 -07:00
Pragmatic Software
05b1159421 RelayUnreg: limit notification to once every 15 minutes 2018-08-13 14:23:13 -07:00
Pragmatic Software
6929e1ed5d Update version 2018-08-10 22:57:06 -07:00
Pragmatic Software
147c7337d8 No URL titles for unidentified users 2018-08-10 22:57:00 -07:00
Pragmatic Software
4324fe5db3 Update version 2018-08-10 13:14:01 -07:00
k
a19f40251d Fix some broken ,fact behavior (#49) 2018-08-10 13:12:24 -07:00
Pragmatic Software
0fd8e595a5 Update version 2018-08-09 22:44:32 -07:00
Pragmatic Software
16b708851a Replace missed split with split_args 2018-08-09 22:44:28 -07:00
Pragmatic Software
e3df4f3f8e Update version 2018-08-09 10:55:59 -07:00
Pragmatic Software
5fe46db2ce Add quotes around keys in more places 2018-08-09 10:55:53 -07:00
Pragmatic Software
1bedb74720 Update version 2018-08-08 17:58:55 -07:00
Pragmatic Software
8af3682dc3 Add quotes around keywords with spaces in output messages 2018-08-08 17:58:53 -07:00
Pragmatic Software
f255bca0ca Update version 2018-08-08 17:39:02 -07:00
Pragmatic Software
174de2be8e Update all commands to understand quoted arguments; factoid names, etc, can now contain spaces 2018-08-08 17:38:57 -07:00
Pragmatic Software
bbe817cd28 Update version 2018-08-06 20:24:19 -07:00
Pragmatic Software
3141397632 AntiSpam: use positional arguments; minor text changes 2018-08-06 20:24:15 -07:00
Pragmatic Software
6454ff82aa Interpreter: support array of positional arguments 2018-08-06 20:23:35 -07:00
Pragmatic Software
99e0182e11 Update version 2018-08-06 18:47:13 -07:00
Pragmatic Software
7b20a00797 Interpreter: improve parsing of pipes 2018-08-06 18:47:07 -07:00
Pragmatic Software
3007096546 Update version 2018-08-06 11:24:09 -07:00
Pragmatic Software
bb11282e13 AntiSpam: "unless" is too confusing 2018-08-06 11:24:05 -07:00
Pragmatic Software
e861c9dea2 Update version 2018-08-06 11:09:16 -07:00
Pragmatic Software
d10acb815b AntiSpam: Oops, inverted "unless" logic. Tricky, tricky "unless"! 2018-08-06 11:09:13 -07:00
Pragmatic Software
a15da5a71b Update version 2018-08-06 11:02:01 -07:00
Pragmatic Software
d433043b02 RelayUnreg: use all AntiSpam namespaces 2018-08-06 11:01:58 -07:00
Pragmatic Software
e0e4bfd59c AntiSpam: rename channel to namespace; add $all_namespaces parameter 2018-08-06 11:01:23 -07:00
Pragmatic Software
5c3934781f Update version 2018-08-06 10:13:21 -07:00
Pragmatic Software
fd92ba33ab Update version 2018-08-06 09:49:06 -07:00
Pragmatic Software
2353bdde1c UrlTitles: disregard the specific spam URL instead of entire message 2018-08-06 09:49:03 -07:00
Pragmatic Software
e33504db93 Update version 2018-08-06 09:41:23 -07:00
Pragmatic Software
a8d8c90454 UrlTitles: check urls against AntiSpam 2018-08-06 09:41:18 -07:00
Pragmatic Software
96d23b6177 Update version 2018-08-05 22:52:32 -07:00
Pragmatic Software
b676e810d8 Spinach: slightly less strict validate_lie 2018-08-05 22:52:29 -07:00
Pragmatic Software
82720e3da8 RelayUnreg: replace banned check with new is_banned(); check for +z; use AntiSpam::is_spam 2018-08-05 22:50:22 -07:00
Pragmatic Software
65644815e0 Interpreter: check for +z chanmode and ignore commands from banned users 2018-08-05 22:48:24 -07:00
Pragmatic Software
9243a40228 Track and remember channel modes and topicinfo 2018-08-05 22:47:38 -07:00
Pragmatic Software
c57d7550ea AntiFlood: remove useless use statement 2018-08-05 22:45:40 -07:00
Pragmatic Software
1f43e003d8 Channels: add get_meta() convenience subroutine 2018-08-05 22:44:46 -07:00
Pragmatic Software
4e996717c8 HashObject: add $dont_save parameter to set() 2018-08-05 22:43:57 -07:00
Pragmatic Software
d29eb06cc5 BanTracker: add is_banned() convenience subroutine 2018-08-05 22:42:29 -07:00
Pragmatic Software
6bcab79275 Add AntiSpam module 2018-08-05 22:41:08 -07:00
Pragmatic Software
ed7dd19460 Rename RegisterNickserv.pm to RelayUnreg.pm 2018-08-05 20:04:03 -07:00
Pragmatic Software
d6715fad8d Do not infinitely WHO empty/non-channels 2018-08-03 13:38:28 -07:00
Pragmatic Software
99656ec9ba Update version 2018-08-03 12:32:21 -07:00
Pragmatic Software
cd751c290c RegisterNickserv: Do not relay messages if user is +v 2018-08-03 12:32:16 -07:00
Pragmatic Software
772ea03ddf NickList now tracks user modes as metadata 2018-08-03 12:31:45 -07:00
Pragmatic Software
f18426be16 Fix minor undefined value warning 2018-08-03 12:29:55 -07:00
Pragmatic Software
80d6643b28 Update version 2018-08-03 07:30:13 -07:00
Pragmatic Software
6149f0faee RegisterNickserv: ensure speaker is not banned or muted before relaying message 2018-08-03 07:30:07 -07:00
Pragmatic Software
3bf4ba9c55 Update version 2018-07-31 17:23:19 -07:00
Pragmatic Software
6c31f3e1b7 Minor correction 2018-07-31 17:23:15 -07:00
Pragmatic Software
50d859cb0b Remove annoying log message 2018-07-31 17:21:37 -07:00
Pragmatic Software
0a8cef3c2a Clear current NickServ account when logged out 2018-07-31 17:21:15 -07:00
Pragmatic Software
b5b513fb77 Update version 2018-07-31 16:35:59 -07:00
Pragmatic Software
21be299033 RegisterNickserv: Add SASL link 2018-07-31 16:35:56 -07:00
Pragmatic Software
ada9a012e7 Update version 2018-07-31 16:20:53 -07:00
Pragmatic Software
42f967e411 RegisterNickserv: Queue unregistered messages to see if speaker gets killed or leaves 2018-07-31 16:20:49 -07:00
Pragmatic Software
7e47d513b4 Update version 2018-07-31 13:29:58 -07:00
Pragmatic Software
be9f01bc48 Add RegisterNickserv plugin 2018-07-31 13:29:52 -07:00
Pragmatic Software
173cbeadac Update version 2018-07-08 17:10:59 -07:00
Pragmatic Software
80bcf56bfe Battleship: improve "you will now attack" message 2018-07-08 17:10:50 -07:00
Pragmatic Software
2380761186 Update version 2018-07-07 15:04:21 -07:00
Pragmatic Software
67ab8920e9 Connect4: fix code indentation and whitespace 2018-07-07 15:04:02 -07:00
mannito
bf5a9b2d46 Connect4: variable board size and fixes (#46)
* Connect4: Fixes column_top and parameterized board size

* Connect4: Show legend on top of the board
2018-07-07 15:01:07 -07:00
mannito
5fcbe429a2 Add Connect4 game Plugin (#45)
Connect4 game Plugin
2018-07-06 22:29:19 -07:00
Pragmatic Software
fd536af23b Update version 2018-07-05 19:57:57 -07:00
Pragmatic Software
9b58f763e4 fix Net::IRC pacing 2018-07-05 19:57:54 -07:00
Pragmatic Software
b585b161ca Update version 2018-07-05 15:34:44 -07:00
Pragmatic Software
1231c7b682 Battleship: Draw border on right and bottom too 2018-07-05 15:34:40 -07:00
Pragmatic Software
9f54843e40 Update version 2018-07-05 15:19:15 -07:00
Pragmatic Software
cbfa6e8b11 Battleship: Show player names when showing initial battlefield 2018-07-05 15:19:10 -07:00
Pragmatic Software
74a60bdc1b Update version 2018-07-05 14:46:57 -07:00
Pragmatic Software
b6aedc87bf Battleship: improve scoreboard 2018-07-05 14:46:53 -07:00
Pragmatic Software
b9e5fbc2a0 Update version 2018-07-05 11:44:04 -07:00
Pragmatic Software
501615146a Update version 2018-07-04 14:36:26 -07:00
Pragmatic Software
aa0a8240dc Battleship: improve legend; make board 7x10 2018-07-04 14:36:19 -07:00
Pragmatic Software
48328aa04b Update version 2018-07-03 20:03:54 -07:00
Pragmatic Software
c6e7b7bf6a Battleship: prevent minor hiccup in ultra-fast-paced movement 2018-07-03 20:03:49 -07:00
Pragmatic Software
d5ce7940fe Update version 2018-07-02 23:34:16 -07:00
Pragmatic Software
7b6bb688be Improve Net::IRC pacing to ignore pacing for initial 8 lines in a squelch 2018-07-02 23:34:11 -07:00
Pragmatic Software
c1db40d216 Battleship: balanced board and queue commands 2018-07-02 23:33:22 -07:00
Pragmatic Software
0243b4fd0f Update version 2018-07-01 22:37:28 -07:00
Pragmatic Software
684ed5351f Fix Battleship win condition bug from previous commit 2018-07-01 22:37:25 -07:00
Pragmatic Software
4316e0c6de Update version 2018-07-01 20:39:58 -07:00
Pragmatic Software
70d97e129c Refactor Battleship: fixed turn issues 2018-07-01 20:39:55 -07:00
Pragmatic Software
72c0cbe4f0 Update version 2018-07-01 19:43:30 -07:00
Pragmatic Software
717f40ccb5 More Battleship improvements 2018-07-01 19:43:27 -07:00
Pragmatic Software
2515113104 Update version 2018-07-01 18:47:02 -07:00
Pragmatic Software
117b7c2348 Battleship: no-arg challenge issues open-ended challenge 2018-07-01 18:46:58 -07:00
Pragmatic Software
5e45e7a741 Update version 2018-07-01 17:01:23 -07:00
Pragmatic Software
3298f5a27b Battleship improvements 2018-07-01 17:01:18 -07:00
Pragmatic Software
b64758869e Update version 2018-07-01 03:07:50 -07:00
Pragmatic Software
272f7dfb56 Add Battleship plugin 2018-07-01 03:07:44 -07:00
Pragmatic Software
f1a7807b38 Enable IRC output queue pacing/throttling 2018-07-01 03:07:30 -07:00
Pragmatic Software
941466f7fa Update version 2018-06-05 22:59:36 -07:00
Pragmatic Software
fc4fbc6af3 Group comma-separated bans/mutes together in one MODE 2018-06-05 22:59:33 -07:00
Pragmatic Software
4d6c3d14ca Update version 2018-06-05 18:28:06 -07:00
Pragmatic Software
e76bb3f46a ban and mute now accept comma-separated targets 2018-06-05 18:28:03 -07:00
k
9d8940fee2 Make unmute and unban more smarter about argument order (#40)
* clean up unban and unmute

* unmute and unban are now smart about argument order
2018-06-05 17:55:59 -07:00
Pragmatic Software
430017abf9 Update version 2018-06-05 15:53:04 -07:00
k
2f190a57c3 extend unmute to automagically unmute all of a user's hosts (#39) 2018-06-05 15:02:02 -07:00
Pragmatic Software
4f6993efb4 Update version 2018-05-21 19:28:00 -07:00
Pragmatic Software
e1028f84a2 Fix escaping of pipes and command substitutions 2018-05-21 19:27:57 -07:00
Pragmatic Software
9279c228dd Update version 2018-05-21 18:06:36 -07:00
Pragmatic Software
4f54ee669c Do not do me/my expansion for a few more commands 2018-05-21 18:06:32 -07:00
Pragmatic Software
c7e40a25ec Update version 2018-05-21 18:02:20 -07:00
Pragmatic Software
89f38026d3 Fix preserve whitespace setting 2018-05-21 18:02:16 -07:00
Pragmatic Software
6912e53c0a Update version 2018-05-20 18:39:59 -07:00
Pragmatic Software
31cfb08562 Update version 2018-05-20 18:39:35 -07:00
Pragmatic Software
74c5a311a0 Spinach improvements 2018-05-20 18:39:27 -07:00
Pragmatic Software
8ee90e0a61 Update version 2018-05-14 19:22:19 -07:00
Pragmatic Software
49e70ed098 No longer show channel name in "did you mean..." if strictnamespace is enabled 2018-05-14 19:21:58 -07:00
Pragmatic Software
2df10fdf45 Blacklist listing output now messaged to caller 2018-05-14 19:20:55 -07:00
Pragmatic Software
4bdb170059 Update version 2018-05-12 02:53:34 -07:00
Pragmatic Software
81dcc3bee1 Add strictnamespace registry key 2018-05-12 02:52:52 -07:00
Pragmatic Software
dd520e0346 Send chanunset output to channel 2018-05-12 02:52:10 -07:00
Pragmatic Software
4e041f94fa Anchor blacklist regexes 2018-05-12 02:51:23 -07:00
Pragmatic Software
ad368c9108 Update version 2018-04-24 14:23:04 -07:00
Pragmatic Software
585bcc0092 Update version 2018-04-24 12:43:24 -07:00
Pragmatic Software
aa93adac21 Update version 2018-04-08 19:34:29 -07:00
Pragmatic Software
e033b5b837 ValidateString is now JSON-aware 2018-04-08 19:34:24 -07:00
Pragmatic Software
c9d9322711 Update version 2018-04-01 16:36:12 -07:00
Pragmatic Software
fd36d91ac4 Remove left-over capture group 2018-04-01 16:36:08 -07:00
Pragmatic Software
40212c4b91 Update version 2018-04-01 16:34:32 -07:00
Pragmatic Software
ec117c4aec Factoids: Fix expansions for real 2018-04-01 16:34:29 -07:00
Pragmatic Software
2da22dc660 Update version 2018-04-01 15:03:07 -07:00
Pragmatic Software
8dc7db0857 Factoids: Fix expansions again 2018-04-01 15:03:04 -07:00
Pragmatic Software
8dfd015505 Spinach: Remove limit for category reroll 2018-04-01 14:25:13 -07:00
Pragmatic Software
193f3eab07 Update version 2018-03-31 14:45:47 -07:00
Pragmatic Software
fe33e3e777 Fix factoid expansion offset 2018-03-31 14:45:43 -07:00
Pragmatic Software
7087e610c8 Update version 2018-03-25 16:04:22 -07:00
Pragmatic Software
b90d67b665 rq nick search now whole-word; wildcards still work 2018-03-25 16:04:17 -07:00
Pragmatic Software
ceb06d611c Update version 2018-03-25 10:42:10 -07:00
Pragmatic Software
2429521b78 Update version 2018-03-24 17:38:30 -07:00
Pragmatic Software
31e38bf2fe Whoops, forgot a/an in Factoid expansion replacement 2018-03-24 17:37:47 -07:00
Pragmatic Software
2385ef4822 Update version 2018-03-23 13:34:33 -07:00
Pragmatic Software
e70e016112 Improve factoid variable expansion 2018-03-23 13:34:28 -07:00
Pragmatic Software
dbe37226c6 Spinach: 60 seconds instead of 30 for choose category 2018-03-23 12:33:07 -07:00