sopel-rep


Namesopel-rep JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
SummaryKarma plugin for Sopel IRC bots
upload_time2024-08-05 20:46:50
maintainerNone
docs_urlNone
authorNone
requires_python<4,>=3.8
licenseEFL-2.0
keywords sopel plugin bot irc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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`:

```shell
$ 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: 3600_
* `admin_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 score
* `nick--` 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 the `cooldown`
    (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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sopel-rep",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "sopel, plugin, bot, irc",
    "author": null,
    "author_email": "dgw <dgw@technobabbl.es>",
    "download_url": "https://files.pythonhosted.org/packages/8e/2e/c6789e016593fee633939be759b07b11c92767ed09f06497ab4ddeb00eec/sopel_rep-1.1.0.tar.gz",
    "platform": "Linux x86, x86-64",
    "description": "# sopel-rep\n\nKarma plugin for Sopel IRC bots.\n\nLets users \"luv\" and \"h8\" other users on IRC. Functional clone of a mIRC script\nsomeone used in a channel I was in. (Never saw their code, not that I'd want to\ndo a *port* of anything written for mIRC...)\n\n## Requirements\n\nThis plugin is compatible with Sopel 7.1 or higher. However, even though Sopel 7\nsupports many legacy Python versions back to 2.7, the plugin is only tested\nagainst current versions of Python (3.8+).\n\n## Installing\n\nReleases are hosted on PyPI, so after installing Sopel, all you need is `pip`:\n\n```shell\n$ pip install sopel-rep\n```\n\n## Configuring\n\nThe easiest way to configure `sopel-rep` is via Sopel's configuration\nwizard\u2014simply run `sopel-plugins configure rep` and enter the values for which\nit prompts you. Settings are described below:\n\n* `cooldown`: How long in seconds each user must wait after changing anyone's\n  rep before they are permitted to do so again.\\\n  _Default: 3600_\n* `admin_cooldown`: Whether the bot's owner & admins must obey the cooldown.\\\n  _Default: true_\n\n## Usage\n### Commands\n* `.luv nick`: Adds +1 to the user's reputation score\n* `.h8 nick`: Adds -1 to the user's reputation score\n\n### Actions\n* `/me <3 nick`: Adds +1 to the user's reputation score\n* `/me </3 nick`: Adds -1 to the user's reputation score\n\n### Inline karma\n* `nick++` anywhere in a message adds +1 to the user's reputation score\n* `nick--` anywhere in a message adds -1 to the user's reputation score\n\n## Changelog\n\n### 1.1.0\n\nAdded:\n* Cooldown configuration settings\n  * `cooldown` controls how often (in seconds) each user can use the plugin (by\n    default, 3600)\n  * `admin_cooldown` controls whether bot admins are subject to the `cooldown`\n    (by default, yes)\n\n\n### 1.0.0\n\nFirst release of `sopel-rep`.\n\nThis plugin existed for about 9 years as a standalone `rep.py` file. Now,\nfinally, it's available as an installable package.\n",
    "bugtrack_url": null,
    "license": "EFL-2.0",
    "summary": "Karma plugin for Sopel IRC bots",
    "version": "1.1.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/dgw/sopel-rep/issues",
        "Homepage": "https://github.com/dgw/sopel-rep"
    },
    "split_keywords": [
        "sopel",
        " plugin",
        " bot",
        " irc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "397dfc73662a41163ac0111a16d2a73097b0c322fe0c45ad9ad4dbdaaa4f90f3",
                "md5": "aec515f62eaabf00558071a723c60eb2",
                "sha256": "25bec44ed2b7e284dbf886af68175bc6ebe4658ef18180fb1b138124f37f4ca8"
            },
            "downloads": -1,
            "filename": "sopel_rep-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aec515f62eaabf00558071a723c60eb2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 5918,
            "upload_time": "2024-08-05T20:46:45",
            "upload_time_iso_8601": "2024-08-05T20:46:45.807780Z",
            "url": "https://files.pythonhosted.org/packages/39/7d/fc73662a41163ac0111a16d2a73097b0c322fe0c45ad9ad4dbdaaa4f90f3/sopel_rep-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e2ec6789e016593fee633939be759b07b11c92767ed09f06497ab4ddeb00eec",
                "md5": "92861e82cdb20a47f6b1ad9825b45b40",
                "sha256": "366ff335b902574b50e33bab7dbb7515823211d72fbede2ab7dd76f9478724ac"
            },
            "downloads": -1,
            "filename": "sopel_rep-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "92861e82cdb20a47f6b1ad9825b45b40",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 5656,
            "upload_time": "2024-08-05T20:46:50",
            "upload_time_iso_8601": "2024-08-05T20:46:50.300842Z",
            "url": "https://files.pythonhosted.org/packages/8e/2e/c6789e016593fee633939be759b07b11c92767ed09f06497ab4ddeb00eec/sopel_rep-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-05 20:46:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dgw",
    "github_project": "sopel-rep",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sopel-rep"
}
        
Elapsed time: 0.29665s