3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00
Commit Graph

185 Commits

Author SHA1 Message Date
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
Pragmatic Software
aae637e7c6 Plugins/RestrictedMod: add unban and unmute commands 2020-01-31 22:03:50 -08:00
Pragmatic Software
83fc93bddd Plugins/RestrictedMod: fix minor thing 2020-01-31 18:53:03 -08:00
Pragmatic Software
00256f2077 Plugins/RestrictedMod: tidy usage message 2020-01-31 18:45:34 -08:00
Pragmatic Software
46b3dd5010 Plugins/RestrictedMod: fix kb command 2020-01-31 18:42:16 -08:00
Pragmatic Software
b48a4ae7cd Add RestrictedMod plugin 2020-01-31 18:29:52 -08:00
Pragmatic Software
e8b6fa7bd7 Plugins/Wttr: do not show "Option coming soon" for -u 2020-01-31 17:11:13 -08:00
Pragmatic Software
982cefcebd Plugin/TypoSub: final closing slash is now optional 2020-01-31 02:15:20 -08:00
Pragmatic Software
4ca0aa03ae Add TypoSub plugin 2020-01-31 01:56:20 -08:00
Pragmatic Software
96fbf4c420 Plugins: Weather and Wttr now use LWPUserAgentCached 2020-01-30 21:17:58 -08:00
Pragmatic Software
f099abb9e7 Plugins/Wttr: minor improvements 2020-01-30 19:18:58 -08:00
Pragmatic Software
3251cbdc58 Plugins/Wttr: improve output 2020-01-30 18:59:43 -08:00
Pragmatic Software
d45d46104f Plugins/Wttr: force metric units 2020-01-29 20:47:15 -08:00
Pragmatic Software
92eb103917 Plugins/Wttr: add some more units 2020-01-29 20:41:32 -08:00
Pragmatic Software
2071fe2523 Plugins/Wttr: improvements 2020-01-29 19:57:30 -08:00
Pragmatic Software
28f102d88c Plugins/Wttr: fix -all not handling "sunrise|sunset" properly 2020-01-29 19:32:45 -08:00
Pragmatic Software
23750d0ef7 Plugins/Wttr: very minor clean-up 2020-01-29 19:19:51 -08:00
Pragmatic Software
d567922858 Plugins: add Wttr weather plugin 2020-01-29 19:11:45 -08:00
Pragmatic Software
fbc50184dc Fix misc usage messages 2020-01-29 13:35:56 -08:00
Pragmatic Software
7c467a78fa Plugins/Date: now accepts -u to override user account for timezone setting 2020-01-29 12:40:45 -08:00
Pragmatic Software
43f2c38863 Plugins/Weather: improve error message 2020-01-29 12:40:17 -08:00
Pragmatic Software
9093c16e4a Plugins/Weather: update usage: "location" is an optional argument 2020-01-29 12:04:30 -08:00
Pragmatic Software
71031b88a7 Plugins/Weather: weather can now accept a -u option to specify user account 2020-01-29 12:02:08 -08:00