3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-29 06:02:36 +01:00
Commit Graph

135 Commits

Author SHA1 Message Date
Pragmatic Software
d5d34a0722 Spinach: Add ability to skip current question 2018-02-14 22:13:54 -08:00
Pragmatic Software
9c416b8d70 Spinach: Add ability to edit questions 2018-02-14 19:09:57 -08:00
Pragmatic Software
c84e8b18bf Spinach: Very minor textual improvements 2018-02-12 09:04:33 -08:00
Pragmatic Software
5ebb84c18b Quality of life improvements
`lie`, `truth` and `choose` can now all be use interchangibly regardless
of game state. No more needing to switch between commands.

`players` and `score` can now both be used interchangibly and will do
the right thing depending on game state.

`ready` and `unready` are now more game-state aware.
2018-02-11 23:37:37 -08:00
Pragmatic Software
e2f9810d91 Spinach: Improve normalization, and laxen validation 2018-02-11 20:44:14 -08:00
Pragmatic Software
5828f595a4 Spinach: Add stop-word filter to validation 2018-02-10 17:13:26 -08:00
Joey Pabalinas
aeb9130345 Add unready command to spinach for symmetry. (#23) 2018-02-10 15:57:58 -08:00
Pragmatic Software
0d847d7d4b Spinach: Improve text normalization 2018-02-09 12:47:06 -08:00
Pragmatic Software
93d471c567 Spinach: normalize answers, anti-ambiguity, and more 2018-02-03 20:42:27 -08:00
Pragmatic Software
c5e5b9768f ActionTrigger: Properly handle QUITs 2018-02-03 16:06:42 -08:00
Pragmatic Software
49866fd0d2 Spinach updates and bugfixes 2018-02-01 20:15:54 -08:00
Pragmatic Software
f603d831ab Update Spinach data path 2018-01-31 22:16:46 -08:00
Pragmatic Software
96b85fc791 More significant Spinach improvements 2018-01-31 22:11:26 -08:00
Pragmatic Software
4b9a249014 Spinach now detects when players leave the channel 2018-01-29 22:15:08 -08:00
Pragmatic Software
998011ec55 Several significant improvements to Spinach 2018-01-29 21:54:52 -08:00
Pragmatic Software
4f04309329 Fibbage-clone plugin! 2018-01-28 21:53:40 -08:00
Pragmatic Software
b4df71cd71 AntiNickSpam: Remove severity due to "false-positive" common-word nicks 2018-01-17 17:20:34 -08:00
Pragmatic Software
ac136ef086 Add support for global Action Triggers 2018-01-06 20:45:47 -08:00
Pragmatic Software
d772e7a784 ActionTrigger: Remove negative level check since level can no longer be negative 2018-01-05 18:16:43 -08:00
Pragmatic Software
435d76e9cb ActionTrigger: Properly, this time 2018-01-05 18:06:26 -08:00
Pragmatic Software
c5567fc529 ActionTrigger: Ensure level argument passed by users 2018-01-05 18:02:14 -08:00
Pragmatic Software
6cb2d77e7b AntiNickSpam: Increase severity for each additional unique nick per message 2018-01-05 17:57:04 -08:00
Pragmatic Software
c1d4a88faa Add AntiNickSpam plugin 2017-12-30 17:27:48 -08:00
Pragmatic Software
7bacdf6291 AntiRepeat now properly skips messages that are too short 2017-12-30 17:11:45 -08:00
Pragmatic Software
0972cd53e0 Fix some stuff in ActionTrigger 2017-12-27 19:07:35 -08:00
Pragmatic Software
c42f03ed27 AntiRepeat: allow really short messages since "yep" "ok" etc are so common 2017-12-15 16:23:36 -08:00
Pragmatic Software
317fe72230 ActionTrigger: Add missing [channel] usage 2017-12-12 15:33:44 -08:00
Pragmatic Software
b290bd30b8 ActionTrigger: Use command effective-level override 2017-12-11 12:47:21 -08:00
Joey Pabalinas
a8a82b2f23 Prettify grab output similiar to recall (#14) 2017-12-03 10:12:05 -08:00
Pragmatic Software
a40a7a5a82 Support KICK in ActionTrigger 2017-11-26 12:41:07 -08:00
Pragmatic Software
a1aca0e150 Quote grabs export: Escape HTML entities for channel 2017-11-23 15:19:28 -08:00
Pragmatic Software
1557bbc219 Fix UrlTitles properly 2017-11-19 14:06:17 -08:00
Pragmatic Software
edfc01686c Fix UrlTitles to use $stuff 2017-11-19 13:38:55 -08:00
Pragmatic Software
a119ed815f AutoRejoin delay can now be overriden per-channel 2017-11-08 11:17:07 -08:00
Pragmatic Software
5c954dc43c Correct "counter" to "action" in minor text message 2017-11-08 11:16:46 -08:00
Pragmatic Software
62891fea01 Allow things like user@host in AntiTwitter 2017-10-17 22:05:00 -07:00
Pragmatic Software
0a5f64d818 Log when reminders fire off 2017-10-09 19:41:00 -07:00
Pragmatic Software
240b4a6df0 Fix scalar keys thing 2017-10-09 19:40:32 -07:00
Pragmatic Software
85693f905a Convert code-factoids to use VM
Code-factoids can now use the compiler virtual machine. Any languages installed
in the VM are valid candidates for code-factoids!

Syntax: factadd keyword /code language code here
2017-09-10 19:53:29 -07:00
Pragmatic Software
58f21b3bf7 Add newlines to ActionTrigger list 2017-09-09 22:32:14 -07:00
Pragmatic Software
47e295f8cd Add ParseDate plugin 2017-09-03 20:46:34 -07:00
Pragmatic Software
3b93d6c281 Escape single-quotes before using GetOptionsFromString and shellwords 2017-08-30 02:12:05 -07:00
Pragmatic Software
f9fbae2663 Anti-repeat now case-insensitive 2017-08-18 00:52:21 -07:00
Pragmatic Software
4d358fd86e ActionTriggers no longer case-insensitive (whoops) 2017-08-18 00:51:53 -07:00
Pragmatic Software
05c47bc675 Uppercase only type, not args, in ActionTrigger departure handler 2017-08-15 20:12:07 -07:00
Pragmatic Software
c60f344bd1 Add ActionTrigger plugin 2017-08-12 23:43:36 -07:00
Pragmatic Software
7b99c90429 Show repeats remaining in listing 2017-08-12 23:41:09 -07:00
Pragmatic Software
669733f353 Add repeatable reminders; misc sanity checks 2017-08-12 16:18:25 -07:00
Pragmatic Software
4cb7c30dd3 Delete reminders that have expired (remindee not around for 31 days) 2017-08-12 04:43:07 -07:00
Pragmatic Software
fa55b36d09 Remove left-over superflurous declaration 2017-08-12 04:06:33 -07:00
Pragmatic Software
0a1d529434 RemindMe now supports listing and deleting reminders; added some sanity checking 2017-08-12 04:03:37 -07:00
Pragmatic Software
3e6e56d2e5 Extremely basic rudimentary RemindMe plugin (work-in-progress) 2017-08-12 01:24:26 -07:00
Pragmatic Software
dc7406ccb8 Fix a couple of keys on scalar 2017-08-09 01:22:13 -07:00
Pragmatic Software
3d49883104 Add magic command 2017-08-03 13:40:54 -07:00
Pragmatic Software
4f628b4cd7 AntiTwitter nicks now case-insensitive... whoops! 2017-08-01 21:37:00 -07:00
Pragmatic Software
fa854c087f Normalize x-random hostmasks with user field to not pollute message database
Significant optimizations to message database structure and queries
2017-06-18 03:40:51 -07:00
Pragmatic Software
a219f3d9a7 AntiTwitter: use more restrictive nick-similarity value 2017-05-20 23:45:30 -07:00
Pragmatic Software
be80680626 Improve twit detection 2017-04-10 19:35:14 -07:00
Tomasz Kramkowski
b5d8f72254 License project under MPL2
This patch adds the file LICENSE which is the verbatim copy of the
Mozilla Public License Version 2.0 as retreived from
https://www.mozilla.org/media/MPL/2.0/index.815ca599c9df.txt on
2017-03-05.

This patch also places license headers for the MPL2 type A variant of
the license header in the following files:

PBot/AntiFlood.pm
PBot/BanTracker.pm
PBot/BlackList.pm
PBot/BotAdminCommands.pm
PBot/BotAdmins.pm
PBot/ChanOpCommands.pm
PBot/ChanOps.pm
PBot/Channels.pm
PBot/Commands.pm
PBot/DualIndexHashObject.pm
PBot/EventDispatcher.pm
PBot/FactoidCommands.pm
PBot/FactoidModuleLauncher.pm
PBot/Factoids.pm
PBot/HashObject.pm
PBot/IRCHandlers.pm
PBot/IgnoreList.pm
PBot/IgnoreListCommands.pm
PBot/Interpreter.pm
PBot/LagChecker.pm
PBot/Logger.pm
PBot/MessageHistory.pm
PBot/MessageHistory_SQLite.pm
PBot/NickList.pm
PBot/PBot.pm
PBot/Plugins.pm
PBot/Plugins/AntiAway.pm
PBot/Plugins/AntiKickAutoRejoin.pm
PBot/Plugins/AntiRepeat.pm
PBot/Plugins/AntiTwitter.pm
PBot/Plugins/AutoRejoin.pm
PBot/Plugins/Counter.pm
PBot/Plugins/Quotegrabs.pm
PBot/Plugins/Quotegrabs/Quotegrabs_Hashtable.pm
PBot/Plugins/Quotegrabs/Quotegrabs_SQLite.pm
PBot/Plugins/UrlTitles.pm
PBot/Plugins/_Example.pm
PBot/Refresher.pm
PBot/Registerable.pm
PBot/Registry.pm
PBot/RegistryCommands.pm
PBot/SQLiteLogger.pm
PBot/SQLiteLoggerLayer.pm
PBot/SelectHandler.pm
PBot/StdinReader.pm
PBot/Timer.pm
PBot/Utils/ParseDate.pm
PBot/VERSION.pm
build/update-version.pl
modules/acronym.pl
modules/ago.pl
modules/c11std.pl
modules/c2english.pl
modules/c2english/CGrammar.pm
modules/c2english/c2eng.pl
modules/c99std.pl
modules/cdecl.pl
modules/cfaq.pl
modules/cjeopardy/IRCColors.pm
modules/cjeopardy/QStatskeeper.pm
modules/cjeopardy/Scorekeeper.pm
modules/cjeopardy/cjeopardy.pl
modules/cjeopardy/cjeopardy_answer.pl
modules/cjeopardy/cjeopardy_filter.pl
modules/cjeopardy/cjeopardy_hint.pl
modules/cjeopardy/cjeopardy_qstats.pl
modules/cjeopardy/cjeopardy_scores.pl
modules/cjeopardy/cjeopardy_show.pl
modules/codepad.pl
modules/compiler_block.pl
modules/compiler_client.pl
modules/compiler_vm/Diff.pm
modules/compiler_vm/cc
modules/compiler_vm/compiler_client.pl
modules/compiler_vm/compiler_server.pl
modules/compiler_vm/compiler_server_vbox_win32.pl
modules/compiler_vm/compiler_server_watchdog.pl
modules/compiler_vm/compiler_vm_client.pl
modules/compiler_vm/compiler_vm_server.pl
modules/compiler_vm/compiler_watchdog.pl
modules/compiler_vm/languages/_c_base.pm
modules/compiler_vm/languages/_default.pm
modules/compiler_vm/languages/bash.pm
modules/compiler_vm/languages/bc.pm
modules/compiler_vm/languages/bf.pm
modules/compiler_vm/languages/c11.pm
modules/compiler_vm/languages/c89.pm
modules/compiler_vm/languages/c99.pm
modules/compiler_vm/languages/clang.pm
modules/compiler_vm/languages/clang11.pm
modules/compiler_vm/languages/clang89.pm
modules/compiler_vm/languages/clang99.pm
modules/compiler_vm/languages/clangpp.pm
modules/compiler_vm/languages/clisp.pm
modules/compiler_vm/languages/cpp.pm
modules/compiler_vm/languages/freebasic.pm
modules/compiler_vm/languages/go.pm
modules/compiler_vm/languages/haskell.pm
modules/compiler_vm/languages/java.pm
modules/compiler_vm/languages/javascript.pm
modules/compiler_vm/languages/ksh.pm
modules/compiler_vm/languages/lua.pm
modules/compiler_vm/languages/perl.pm
modules/compiler_vm/languages/python.pm
modules/compiler_vm/languages/python3.pm
modules/compiler_vm/languages/qbasic.pm
modules/compiler_vm/languages/scheme.pm
modules/compiler_vm/languages/server/_c_base.pm
modules/compiler_vm/languages/server/_default.pm
modules/compiler_vm/languages/server/c11.pm
modules/compiler_vm/languages/server/c89.pm
modules/compiler_vm/languages/server/c99.pm
modules/compiler_vm/languages/server/clang.pm
modules/compiler_vm/languages/server/clang11.pm
modules/compiler_vm/languages/server/clang89.pm
modules/compiler_vm/languages/server/clang99.pm
modules/compiler_vm/languages/server/cpp.pm
modules/compiler_vm/languages/server/freebasic.pm
modules/compiler_vm/languages/server/haskell.pm
modules/compiler_vm/languages/server/java.pm
modules/compiler_vm/languages/server/qbasic.pm
modules/compiler_vm/languages/server/tendra.pm
modules/compiler_vm/languages/sh.pm
modules/compiler_vm/languages/tendra.pm
modules/compliment
modules/cstd.pl
modules/define.pl
modules/dice_roll.pl
modules/excuse.sh
modules/expand_macros.pl
modules/fnord.pl
modules/funnyish_quote.pl
modules/g.pl
modules/gdefine.pl
modules/gen_cfacts.pl
modules/gencstd.pl
modules/get_title.pl
modules/getcfact.pl
modules/google.pl
modules/gspy.pl
modules/gtop10.pl
modules/gtop15.pl
modules/headlines.pl
modules/horoscope
modules/horrorscope
modules/ideone.pl
modules/insult.pl
modules/love_quote.pl
modules/man.pl
modules/map.pl
modules/math.pl
modules/prototype.pl
modules/qalc.pl
modules/random_quote.pl
modules/seen.pl
modules/urban
modules/weather.pl
modules/wikipedia.pl
pbot.pl
pbot.sh

It is highly recommended that this list of files is reviewed to ensure
that all files are the copyright of the sole maintainer of the
repository. If any files with license headers contain the intellectual
property of anyone else, it is recommended that a request is made to
revise this patch or that the explicit permission of the co-author is
gained to allow for the license of the work to be changed.

I (Tomasz Kramkowski), the contributor, take no responsibility for any
legal action taken against the maintainer of this repository for
incorrectly claiming copyright to any work not owned by the maintainer
of this repository.
2017-03-06 00:31:15 +00:00
Pragmatic Software
75ca6d61a8 Make AntiTwitter more robust 2017-02-22 12:09:06 -08:00
Pragmatic Software
9621c6ffbe AntiTwitter: Warn twice before tempban; add logging 2017-02-22 04:18:26 -08:00
Pragmatic Software
5efc55c306 Ignore interpreted messages in AntiTwitter 2017-02-21 05:37:43 -08:00
Pragmatic Software
aac788831a Only one punishment per message! 2017-02-21 05:26:26 -08:00
Pragmatic Software
ca4be630ea Add AntiTwitter plugin 2017-02-21 05:20:17 -08:00
Pragmatic Software
ecd5feced1 AntiKickAutoRejoin: Fix channel case-sensitivity discrepancy and ignore roulette kicks (*BANG!*) 2016-11-28 12:15:26 -08:00
Pragmatic Software
41030b5686 Quick rough-draft of auto-rejoin plugin 2016-07-01 13:02:58 -07:00
Pragmatic Software
b5c107bcbb Remove extraneous comma 2016-04-10 18:35:11 -07:00
Pragmatic Software
1e892f4ca1 Add silent option to countertriggers 2016-03-06 22:25:22 -08:00
Pragmatic Software
fb846a36ed Obey ignorelist in Counter plugin on_public() 2016-02-25 00:45:46 -08:00
Pragmatic Software
f82a0cd64e Improvements to Counter plugin 2016-02-19 20:44:57 -08:00
Pragmatic Software
1339b30c4b Only admins can add counter triggers 2016-02-17 14:57:24 -08:00
Pragmatic Software
d48cc9d976 Skip only bad triggers instead of all triggers 2016-02-14 18:29:00 -08:00
Pragmatic Software
d251d0ac7a Add countertrigger command to Counter plugin 2016-02-14 18:13:27 -08:00
Pragmatic Software
98ee3bef02 Add Counter plugin 2016-02-13 18:39:12 -08:00
Pragmatic Software
0411249b29 Add AntiRepeat plugin 2016-01-29 19:56:29 -08:00
Pragmatic Software
7ce40fca4d Correct use/package paths 2015-09-09 05:24:16 -07:00
Pragmatic Software
a158e4458f Rename Plugins/_Readme to Plugins/README 2015-09-08 11:50:14 -07:00
Pragmatic Software
8e188b9013 Correct minor typos in description comment 2015-09-08 11:46:08 -07:00
Pragmatic Software
17e4cdb8b3 Move Quotegrabs to Plugins 2015-09-08 11:42:43 -07:00
Pragmatic Software
6d8b6532b6 Immediate leave UrlTitles if message doesn't contain a URL 2015-09-08 05:30:02 -07:00
Pragmatic Software
6c5c263ed2 Move URL titles conditional out of loop 2015-09-08 04:43:24 -07:00
Pragmatic Software
391cd91191 Add $event->{interpreted} example to _Example plugin 2015-09-08 01:37:59 -07:00
Pragmatic Software
e5097eee69 Move URL titles to UrlTitles.pm plugin
Add $event->{interpreted} field to events to notify other handlers
whether an event was successfully interpreted by the interpreter.

An $event->{interpreted} that is equal to or greater than 100 means the entire
message was consumed and handlers shouldn't do any further processing of it
that would generate any output to channels or users.

Otherwise, $event->{interpreted} is incremented by 1 for each referenced
command that was processed.
2015-09-08 01:37:34 -07:00
Pragmatic Software
5c83ea62f3 Rename Pluggable to Plugins 2015-09-06 22:53:49 -07:00
Pragmatic Software
adfdccfd27 Rename Pluggable to Plugins 2015-09-06 22:52:39 -07:00