bitbot-3.11-fork/modules
Noah Pederson f70e46a198 Improves sentence processing for karma
Changes the matching regex to grab arbitrary text between ()
for giving (or taking away) karma. Still supports single words
followed by ++/--, including usernames, and strips "," or ":"
characters from the end if a single-word match.

ex. (some sentence to give karma to)++ -> "[Karma] some sentence to give
karma to now has 1 karma"

ex. ngp:++ -> "[Karma] ngp now has 200 karma"
2019-09-26 05:50:10 -05:00
..
channel_log Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
commands returned is now a tuple; we want message 2019-09-26 12:19:50 +01:00
fediverse non-CWed pleroma posts have content as "", not null 2019-09-25 17:12:55 +01:00
git_webhooks 'ref' doesn't always come in "a/b/c" format for Gitea 2019-09-24 13:00:08 +01:00
ircv3_sasl Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
line_handler update username/hostname of Users when they send PRIVMSG/NOTICE/TAGMSG 2019-09-26 17:47:45 +01:00
permissions allow all preprocess.command and check.command failures to have a message 2019-09-26 12:14:55 +01:00
scripts Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
tweets request tweet stream as tweet_mode="extended" 2019-09-25 15:03:43 +01:00
accept_invite.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
acronym.py refactor utils.http.requests to support a Request object 2019-09-11 17:44:07 +01:00
admin.py show alias of disconnected server when it's a cancelled timer 2019-09-25 12:33:12 +01:00
badges.py force timezone info on to badge dates 2019-09-07 22:02:08 +01:00
badwords.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
birthday.py Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
bitcoin.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
bot_channel.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
botlist.py Add !botlist and !rollcall 2019-05-12 22:37:08 +01:00
channel_access.py allow all preprocess.command and check.command failures to have a message 2019-09-26 12:14:55 +01:00
channel_blacklist.py disregard empty JOIN channel params (e.g. "JOIN #bad,") 2019-09-07 12:58:20 +01:00
channel_keys.py unset saved channel key on -k 2019-07-03 08:29:47 +01:00
channel_op.py !k should be alias_of !kick 2019-09-26 14:06:47 +01:00
channel_save.py batch up channel_save.py JOINs in to groups of 10 2019-07-22 12:42:43 +01:00
check_certificate.py add check_certificate.py, to warn about expiring or not valid client certs 2019-09-26 16:03:23 +01:00
check_mode.py allow all preprocess.command and check.command failures to have a message 2019-09-26 12:14:55 +01:00
coins.py change Cache.py to be key:value 2019-09-02 14:07:26 +01:00
command_suggestions.py unknown_command.py -> command_suggestions.py 2019-06-24 22:58:14 +01:00
config.py allow all preprocess.command and check.command failures to have a message 2019-09-26 12:14:55 +01:00
ctcp.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
cve.py append "CVE-" to CVE ids without it 2019-09-18 17:51:08 +01:00
database_backup.py Pass context-wrapped timers to each module, add ModuleManager.BaseModule.on_load 2018-10-12 18:07:23 +01:00
deferred_read.py add deferred_read.py, to defer parsing of *some* lines until after 001 2019-06-22 22:22:50 +01:00
define.py Show an error (instead of throwing) when !define gets a 404 2019-07-03 07:59:12 +01:00
dice.py default !roll to 1d6 2019-09-26 14:48:05 +01:00
duckduckgo.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
ducks.py Add IntRangeSetting, reorder OptionsSetting arg order 2019-08-30 14:40:54 +01:00
echo.py add !action to echo.py 2019-09-26 12:27:20 +01:00
eightball.py add !8 as alias of !8ball 2019-09-09 14:25:19 +01:00
eval_lua.py refactor utils.http.requests to support a Request object 2019-09-11 17:44:07 +01:00
eval_python.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
factoids.py implement @utils.kwarg() magic, use it for command.regex hooks 2019-06-26 14:37:41 +01:00
fake_echo.py 'seperate_hostmask()' -> 'parse_hostmask()' 2019-09-16 18:43:57 +01:00
format_activity.py update channel.topic_setter-related code 2019-09-16 18:41:47 +01:00
github.py remove legacy --depends-on flags for github.py (leftover from webhooks) 2019-09-02 15:15:15 +01:00
google.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
greeting.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
hash.py Show available hash algorithms when none is provided 2019-07-28 16:41:12 +01:00
help.py be explicit when a command has no help available 2019-09-17 16:27:35 +01:00
highlight_spam.py remove debug print 2019-08-14 14:51:07 +01:00
ids.py add !myaccount 2019-09-17 15:15:54 +01:00
ignore.py 'require-mode'/'require-access' -> 'require_mode'/'require_access' 2019-09-26 12:15:35 +01:00
imdb.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
imgur.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
in.py alias !remindme to !in 2019-08-14 10:56:18 +01:00
info.py remove debug prints from info.py 2019-09-05 11:58:35 +01:00
ip_addresses.py event["channel"] -> event["target"] 2019-09-15 21:31:31 +01:00
ircv3.py Show IRCd 'version' string in !specsup output 2019-06-29 22:44:05 +01:00
ircv3_botignore.py ircv3_botignore.py should use HIGH priority 2019-07-09 21:25:43 +01:00
ircv3_chathistory.py Adda system of aliases for CAPs, mostly for changeable draft specs and creating 2019-06-21 17:15:46 +01:00
ircv3_echo_message.py Revert ".eat()ing privmsg/notice send should be high priority" 2019-07-30 15:01:29 +01:00
ircv3_labeled_responses.py make labeled-response depend on batch 2019-06-23 09:44:59 +01:00
ircv3_message_tracking.py Prefix names for all IRCv3 modules with "ircv3_" 2019-06-03 12:44:04 +01:00
ircv3_metadata.py Adda system of aliases for CAPs, mostly for changeable draft specs and creating 2019-06-21 17:15:46 +01:00
ircv3_msgid.py Check our own (echoed) msgids 2019-06-21 10:47:39 +01:00
ircv3_multiline.py use source Hostmask from multiline batch 2019-09-19 18:16:23 +01:00
ircv3_resume.py Fix more instances of event["args"] (now event["line"].args) 2019-06-22 22:08:39 +01:00
ircv3_server_time.py Add an export for IRCv3 CAPs 2019-06-20 16:52:23 +01:00
ircv3_sts.py Ignore sts tokens on plain-text connections if no port key is provided 2019-06-10 14:01:58 +01:00
isup.py lowerify isup.py's _name 2019-07-16 17:25:46 +01:00
karma.py Improves sentence processing for karma 2019-09-26 05:50:10 -05:00
kick-rejoin.py support "0" kickrejoin delay without creating a timer 2019-09-15 22:22:41 +01:00
lastfm.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
location.py Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
markov.py push markov lines down command.regex so ignored users are missed 2019-09-25 18:12:49 +01:00
message_filter.py 'to' -> 'so', typo in !cfilter comment 2019-09-20 14:57:24 +01:00
modules.py Catch a module not being "found" in modules.py 2019-06-19 23:11:56 +01:00
mumble.py 'srt' -> 'str' 2019-09-17 12:23:05 +01:00
nick_regain.py Fix more instances of event["args"] (now event["line"].args) 2019-06-22 22:08:39 +01:00
nickserv.py use utils.SensitiveSetting in nickserv.py 2019-09-12 12:17:52 +01:00
nr.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
onionoo.py Adds an Onionoo module for looking up Tor relays 2019-07-26 13:35:05 +01:00
ops.py add help and channel_only kwargs to !ops 2019-07-09 21:24:35 +01:00
perform.py Remove debug print from perform.py 2019-07-22 12:32:54 +01:00
pong.py Remove "!" from help strings 2019-06-18 17:33:42 +01:00
print_activity.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
pronouns.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
proxy.py Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
quotes.py allow !grab for 1 to 3 most recent lines (default is 1) 2019-09-26 13:47:17 +01:00
random_number.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
relay.py default relay-extras to False 2019-09-02 16:16:28 +01:00
rest_api.py 'path' -> 'args' on REST API events 2019-09-20 10:48:24 +01:00
rot13.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
rss.py actually pass Request objects to utils.http.request_many() from rss.py 2019-09-19 15:04:50 +01:00
rust.py add !crate in rust.py 2019-09-16 12:11:03 +01:00
sed.py don't disregard matched backslashes before ampersand 2019-09-08 11:43:13 +01:00
seen.py don't use JOIN/QUIT as !seen events (netsplits cause these) 2019-09-18 11:43:59 +01:00
shorturl.py Add IntRangeSetting, reorder OptionsSetting arg order 2019-08-30 14:40:54 +01:00
signals.py List()ify self.bot.servers.values() as it can change mid-QUIT 2019-06-06 22:39:57 +01:00
silence.py add require_access flags to !silence/!unsilence 2019-09-26 17:56:10 +01:00
soundcloud.py return matching string from buffer.find() as most uses were redundantly regexing 2019-08-13 13:48:03 +01:00
spotify.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
stats.py capitalisation and comma for "!stats <alias>" 2019-09-26 14:59:26 +01:00
strip_color.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
strip_otr.py add strip_otr.py 2019-09-16 15:29:09 +01:00
tfl.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
thesaurus.py dont use "|" multi-event syntax. it's weird 2019-06-26 10:59:03 +01:00
throttle.py switch throttle.py to use FunctionSetting 2019-09-04 12:11:22 +01:00
title.py only show auto-title when response code is 200 2019-09-20 15:56:14 +01:00
to.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
todo.py consistently use 'todo list' vs 'todo' 2019-07-11 10:11:21 +10:00
trakt.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
translate.py utf8-decode translation data 2019-09-24 12:47:16 +01:00
urbandictionary.py improve !ud usage string (wrt #number) 2019-09-20 14:19:06 +01:00
user_time.py support location names for !timezone too 2019-09-08 18:22:04 +01:00
vote.py Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
weather.py if a word is known as a nickname but the user has no location, treat as location 2019-09-17 15:06:13 +01:00
which.py add which.py - closes #134 2019-09-04 15:39:56 +01:00
wikipedia.py Make root wikipedia command !wikipedia, !wi and !wiki as aliases 2019-06-10 23:06:47 +01:00
wolframalpha.py Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
words.py support disabling word tracking per channel, not just per user 2019-09-10 10:34:44 +01:00
youtube.py remove LOW priority from youtube regex - it doesnt need it 2019-09-08 12:21:28 +01:00