3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-25 04:02:37 +01:00
Commit Graph

207 Commits

Author SHA1 Message Date
Pragmatic Software
cdeb3efe1e Plang print() built-in returns Nil again 2020-07-19 14:49:17 -07:00
Pragmatic Software
5d7a6fab4c Plugins/Plang: builtin print() now returns its output 2020-07-18 23:27:44 -07:00
Pragmatic Software
38daf04bfa Plugins/Plang: override print built-in to collect output 2020-07-18 19:48:05 -07:00
Pragmatic Software
61dde5e9f5 Plugins/Plang: use output_value to print values 2020-07-15 21:47:03 -07:00
Pragmatic Software
7698531397 Plugins/Plang: fix double printing 2020-07-13 19:32:00 -07:00
Pragmatic Software
bc432fa8fe Plugins/Plang: rename channel to namespace 2020-07-12 22:09:59 -07:00
Pragmatic Software
b77ba015cf Plugins/Plang: factadd/factset/factappend builtins implemented 2020-07-12 21:18:17 -07:00
Pragmatic Software
15400b2afb Plugins/Plang: fix usage message 2020-07-12 18:53:57 -07:00
Pragmatic Software
0dedbed2d7 Plugins/Plang: fix parse errors not showing up 2020-07-12 18:33:13 -07:00
Pragmatic Software
c8a1b2b886 Progress on embedding Plang 2020-07-12 17:36:32 -07:00
Pragmatic Software
87765d0a9c Progress on embedding Plang 2020-07-11 21:15:54 -07:00
Pragmatic Software
62194840b2 Add Plang plugin 2020-07-08 23:21:54 -07:00
Pragmatic Software
9e362725ce Plugins/TypoSub: users can set no-typosub to exclude themselves from s/// invocation 2020-07-08 14:48:30 -07:00
Pragmatic Software
2af12c97f5 Plugins/AntiTwitter: disregard whitelisted users 2020-05-21 19:25:31 -07:00
Pragmatic Software
7645dce361 Plugins/Weather: improve usage message 2020-05-20 14:19:10 -07:00
Pragmatic Software
7a0de62612 Plugins/Wttr: improve wttr usage message 2020-05-20 10:34:05 -07:00
Pragmatic Software
d588913b7d Plugins/GoogleSearch: handle no results case 2020-05-05 13:52:59 -07:00
Pragmatic Software
fd125849e2 Plugins/GoogleSearch: catch search() exceptions 2020-05-04 18:43:50 -07:00
Pragmatic Software
9157c2f7fe UrlTitles: add missing hostmask to new $context 2020-05-04 18:06:11 -07:00
Pragmatic Software
2dfae83478 ProcessManager: show "No output." for processes that exit without output; add $context flag to suppress this 2020-05-04 16:51:55 -07:00
Pragmatic Software
976bfcb5e7 Refactor commands to begin with cmd_ and take a $context object
Move all command subroutines closer to top of source file
Do not send WHO to non-chanop channels
Minor misc bugfixes and improvements
2020-05-04 13:21:35 -07:00
Pragmatic Software
8f983bcbda Add grep Function 2020-05-02 02:34:32 -07:00
Pragmatic Software
cfba96e8ae Rename $stuff to $context throughout 2020-05-01 20:59:51 -07:00
Pragmatic Software
f347d1798b Finalize BanList refactor; add updater 2020-04-28 22:36:13 -07:00
Pragmatic Software
ea19abad4f Refactor BanTracker into BanList; move stuff out off ChanOps 2020-04-28 21:33:49 -07:00
Pragmatic Software
7f700cc115 Plugins/ActionTrigger: act upon bot commands too 2020-04-28 14:55:27 -07:00
Pragmatic Software
d290fe1819 Plugins/Weather: Show temps in C/F instead of F/C 2020-04-28 14:54:36 -07:00
Pragmatic Software
7412ce29c2 Plugins/Date: update -u user override to new Users 2020-04-27 17:05:20 -07:00
Pragmatic Software
51f17c0b52 Plugins/Wttr: update -u to use new Users; fix JSON error handling 2020-04-27 16:06:15 -07:00
Pragmatic Software
a857cbc5ef Plugins/TypoSub: respect ignore list 2020-04-09 11:42:17 -07:00
Pragmatic Software
917ceb4912 Plugins/Wttr: improve output 2020-04-08 00:57:56 -07:00
Pragmatic Software
e3a7621073 Plugins/Wttr: Do not show FeelsLike if identical to conditions; improve output 2020-04-08 00:51:03 -07:00
Pragmatic Software
8af9c3b9f8 Plugins/Wttr: improve default output 2020-04-07 23:34:37 -07:00
Pragmatic Software
0dce5861f3 Plugins/Wttr: return result as-is if JSON decode fails 2020-03-20 09:45:12 -07:00
Pragmatic Software
8ddd96c77d Plugins/Connect4: play no longer results in "No such factoid" 2020-03-17 23:03:07 -07:00
Pragmatic Software
494cf6604b Plugin/TypoSub: notyposub registry entry now works properly 2020-03-09 20:19:44 -07:00
Pragmatic Software
766c8ef877 Plugins/Spinach: use event queue for game loop 2020-03-07 19:38:29 -08:00
Pragmatic Software
470d463686 Plugins/Battleship: use event queue for game loop 2020-03-07 19:27:15 -08:00
Pragmatic Software
f258cf6cc6 Plugins/AntiTwitter: use event queue to decrement offense counter 2020-03-07 18:45:34 -08:00
Pragmatic Software
e6deebc876 Plugins/AntiRepeat: dequeue events on unload 2020-03-07 18:43:07 -08:00
Pragmatic Software
3eb35a876f Plugins/AntiRepeat: replace debug value with production value 2020-03-07 18:33:33 -08:00
Pragmatic Software
89b6096901 Plugins/AntiRepeat: use event queue to decrement offense counter 2020-03-07 18:31:55 -08:00
Pragmatic Software
c17c885600 Plugins/Connect4: use event queue for game loop 2020-03-06 20:24:31 -08:00
Pragmatic Software
bc79f3a69d Plugins/RemindMe: use event queue for reminders 2020-03-06 17:09:29 -08:00
Pragmatic Software
ffdebc3f2d Plugins/UrlTitles: fix typo 2020-03-04 15:38:53 -08:00
Pragmatic Software
6c4f56f9df IgnoreList: refactored to use DualIndexHashObject 2020-03-04 13:24:40 -08:00
Pragmatic Software
2ef640de19 Plugins/TypoSub: limit length of s//g replacements 2020-02-27 14:20:42 -08:00
Pragmatic Software
e7209a9146 Whoops, the || were drunk 2020-02-22 07:26:23 -08:00
Pragmatic Software
0835342246 Plugins/TypoSub: be more intelligent about replacing \1 and $1 thingies 2020-02-22 07:19:43 -08:00
Pragmatic Software
9dd955e59b Plugins/ActionTrigger: add usage to examples 2020-02-20 08:08:38 -08:00
Pragmatic Software
f9af7d6bcc Plugins/ActionTrigger: "none" now works for capability 2020-02-19 21:04:57 -08:00
Pragmatic Software
05c886fe0e Plugins/ActionTrigger: updated to use capabilities 2020-02-19 20:59:54 -08:00
Pragmatic Software
fe62282015 Plugins/Wttr: remove "Weather for" prefix 2020-02-19 17:05:03 -08:00
Pragmatic Software
5299e52584 Plugins/Wttr: use new location and population data 2020-02-18 17:05:08 -08:00
Pragmatic Software
e0fa65f003 Plugins/Wttr: OCD formatting? 2020-02-18 15:06:26 -08:00
Pragmatic Software
b924443f80 Plugins/Wttr: now shows forecast/condition changes only for times > $now 2020-02-18 15:06:07 -08:00
Pragmatic Software
e2cb6e5d5e Replace GetOptionsFromString() with superior split_line() and GetOptionsFromArray() 2020-02-16 14:13:41 -08:00
Pragmatic Software
a6b2f60175 Tidy things up 2020-02-16 08:41:45 -08:00
Pragmatic Software
fe56b9f0db Tidy things up 2020-02-15 15:16:38 -08:00
Pragmatic Software
5c4e10a35c Tidy things up 2020-02-15 14:38:32 -08:00
Pragmatic Software
2ce5f8688d Commands now check for execute-process metadata 2020-02-14 22:42:15 -08:00
Pragmatic Software
8695ba4d19 Plugins/Wttr: run get_wttr() as a process 2020-02-14 21:56:03 -08:00
Pragmatic Software
dc7cdd8a2c Add ProcessManager and Modules
Improve everything to behave nicely with ProcessManager and Modules
2020-02-14 18:52:41 -08:00
Pragmatic Software
f37dcaf7f9 Plugins/Wttr: Increase timeout to 30 seconds 2020-02-14 18:41:00 -08:00
Pragmatic Software
e7497fc00f Add uri_escape to FuncBuiltins 2020-02-13 23:22:00 -08:00
Pragmatic Software
69adc408a2 Add FuncSed plugin 2020-02-13 22:41:51 -08:00
Pragmatic Software
9b8560f817 Add FuncBuiltins plugin 2020-02-13 22:37:09 -08:00
Pragmatic Software
20695d5f73 Plugins/Spinach: replace levels with capabilities 2020-02-11 21:59:39 -08:00
Pragmatic Software
afe4638b0a No longer directly access HashObject internals 2020-02-11 21:49:43 -08:00
Pragmatic Software
94ee5f03a5 Correct user cross-channel contamination 2020-02-10 14:31:28 -08:00
Pragmatic Software
99a3266106 Plugins: fix getopt configuration 2020-02-10 13:35:46 -08:00
Pragmatic Software
410ce811ca Plugins/TypoSub: support $1 and \1 capture replacements 2020-02-09 23:35:59 -08:00
Pragmatic Software
c4b71347bf Whitelist is now a user-capability
Rework ban-whitelist to ban-exemptions
2020-02-09 16:20:58 -08:00
Pragmatic Software
5396a7fcff AntiKickAutoRejoin: be nicer 2020-02-09 12:55:30 -08:00
Pragmatic Software
59af6e944d Plugins: use Plugin parent class 2020-02-08 19:48:05 -08:00
Pragmatic Software
39e98db663 Plugins: __PACKAGE__ no longer necessary in unload() 2020-02-07 20:48:09 -08:00
Pragmatic Software
9f2a0346e0 Plugins: unregister event handlers on unload 2020-02-07 12:24:21 -08:00
Pragmatic Software
d92f690195 Plugins/TypoSub: allow, but ignore, trailing characters after a s/// closed sub 2020-02-07 11:22:16 -08:00
Pragmatic Software
63f6ccb80c Remove unnecessary use of delete keyword 2020-02-06 01:14:08 -08:00
Pragmatic Software
6424e7c601 Remove unnecessary return statements 2020-02-06 01:07:44 -08:00
Pragmatic Software
bc98a7642a Plugin/TypoSub: /msg error to user instead of channel 2020-02-05 22:58:28 -08:00
Pragmatic Software
c058c42b1c Plugins: add capabilities to default groups 2020-02-05 18:28:59 -08:00
Pragmatic Software
6453ff220e Plugins/RestrictedMod: support user-capabilities 2020-02-04 23:55:58 -08:00
Pragmatic Software
6267cc04d2 Finished replacing admin-levels with user-capabilities [FIN commit 2 of 2]; misc clean-ups 2020-02-03 17:19:04 -08:00
Pragmatic Software
866d802850 Replaced admin-levels with user-capabilities [WIP commit 1 of 2] 2020-02-03 09:50:38 -08:00
Pragmatic Software
68994f0d8b Plugins/RestrictedMod: very minor text change 2020-02-02 14:56:37 -08:00
Pragmatic Software
6d8aa0ef91 Plugins/RestrictedMod: !mod command is now opt-in per-channel 2020-02-02 14:53:28 -08:00
Pragmatic Software
26f9fc7677 Plugin/ActionTrigger: improve weather example 2020-02-01 23:06:48 -08:00
Pragmatic Software
5a797e84b1 Plugins/ActionTrigger: add weather example 2020-02-01 23:03:44 -08:00
Pragmatic Software
e848a03717 Plugins/ActionTrigger: minor fix to usage message 2020-02-01 22:47:04 -08:00
Pragmatic Software
31a5a0f879 Plugins/ActionTrigger: improve kick example's kick message 2020-02-01 22:39:02 -08:00
Pragmatic Software
059dc26488 Plugin/ActionTrigger: improve examples; remove bind_param()s 2020-02-01 22:29:56 -08:00
Pragmatic Software
4b25ec3ee1 Plugins/ActionTrigger: properly handle quoted arguments; massive clean-up 2020-02-01 22:20:44 -08:00
Pragmatic Software
1c43699e6d Plugins/Wttr: no need to delete $options{h} 2020-02-01 14:34:58 -08:00
Pragmatic Software
9b806559cb Plugins/RestrictMod: improve error message for unban/unmute 2020-02-01 01:04:12 -08:00
Pragmatic Software
376def3b50 Plugins/Wttr: option -u would not allow -default to get set; fixed 2020-01-31 23:17:02 -08:00
Pragmatic Software
134f29de78 Plugins/RestrictedMod: improve help message 2020-01-31 22:51:31 -08:00
Pragmatic Software
b30c41e31e Plugins/RestrictedMod: clarify a comment 2020-01-31 22:10:20 -08:00
Pragmatic Software
8af433a817 Plugins/RestrictedMod: minor clean-up 2020-01-31 22:09:04 -08:00
Pragmatic Software
4be081d4be Plugins/RestrictedMod: minor clean-up 2020-01-31 22:07:55 -08:00