Limnoria/plugins/Karma
2017-09-20 21:46:38 -07:00
..
locales Squashed commit of the following: 2014-12-20 14:37:27 +01:00
__init__.py Remove need for 2to3. 2015-08-11 16:50:23 +02:00
config.py Karma: make onlyNicks a config option 2015-01-14 21:47:40 -05:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py Karma: remove unused variable in karma command 2017-05-04 14:59:04 +02:00
README.md Karma: reword readme & mention the onlyNicks option 2017-09-20 21:46:38 -07:00
test.py Karma: add tests for onlyNicks 2015-01-17 02:49:30 -05:00

This plugins tracks karma for users and things in channels.

If config plugins.karma.allowUnaddressedKarma is set to True (default since 2014.05.07), saying boats++ will give 1 karma to boats, and ships-- will subtract 1 karma from ships.

However, if you use this in a sentence, like That deserves a ++. Kevin++, 1 karma will be added to That deserves a ++. Kevin, so you should only add or subtract karma in a line that doesnt have anything else in it. Alternatively, you can restrict karma tracking to nicks in the current channel by setting config plugins.Karma.onlyNicks to True.

If config plugins.karma.allowUnaddressedKarma is set to False, you must address the bot with nick or prefix to add or subtract karma.