Karma plugin for Sopel IRC bots
Project description
sopel-rep
Karma plugin for Sopel IRC bots.
Lets users "luv" and "h8" other users on IRC. Functional clone of a mIRC script someone used in a channel I was in. (Never saw their code, not that I'd want to do a port of anything written for mIRC...)
Requirements
This plugin is compatible with Sopel 7.1 or higher. However, even though Sopel 7 supports many legacy Python versions back to 2.7, the plugin is only tested against current versions of Python (3.8+).
Installing
Releases are hosted on PyPI, so after installing Sopel, all you need is pip
:
$ pip install sopel-rep
Configuring
The easiest way to configure sopel-rep
is via Sopel's configuration
wizard—simply run sopel-plugins configure rep
and enter the values for which
it prompts you. Settings are described below:
cooldown
: How long in seconds each user must wait after changing anyone's rep before they are permitted to do so again.
Default: 3600admin_cooldown
: Whether the bot's owner & admins must obey the cooldown.
Default: true
Usage
Commands
.luv nick
: Adds +1 to the user's reputation score.h8 nick
: Adds -1 to the user's reputation score
Actions
/me <3 nick
: Adds +1 to the user's reputation score/me </3 nick
: Adds -1 to the user's reputation score
Inline karma
nick++
anywhere in a message adds +1 to the user's reputation scorenick--
anywhere in a message adds -1 to the user's reputation score
Changelog
1.1.0
Added:
- Cooldown configuration settings
cooldown
controls how often (in seconds) each user can use the plugin (by default, 3600)admin_cooldown
controls whether bot admins are subject to thecooldown
(by default, yes)
1.0.0
First release of sopel-rep
.
This plugin existed for about 9 years as a standalone rep.py
file. Now,
finally, it's available as an installable package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sopel_rep-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25bec44ed2b7e284dbf886af68175bc6ebe4658ef18180fb1b138124f37f4ca8 |
|
MD5 | aec515f62eaabf00558071a723c60eb2 |
|
BLAKE2b-256 | 397dfc73662a41163ac0111a16d2a73097b0c322fe0c45ad9ad4dbdaaa4f90f3 |