sopel-slap


Namesopel-slap JSON
Version 0.3.2 PyPI version JSON
download
home_pageNone
SummaryPlugin for Sopel that lets users slap each other in fun ways
upload_time2024-09-10 06:05:06
maintainerdgw
docs_urlNone
authordgw, Michael Yanovich
requires_python<4,>=3.8
licenseEFL-2.0
keywords sopel plugin slap pranks bot irc
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # sopel-slap

Plugin for Sopel that lets users slap each other in fun ways

## Installation

```sh
pip install sopel-slap
```

_Substitute the appropriate `pip` command based on your environment (e.g.
`pip3` or `pip3.10` on systems with multiple Python versions available)._

_If your Sopel configuration requires it, run `sopel-plugins enable slap`,
passing the appropriate config name to `-c` if you have multiple bots._

## Configuration

The easiest way to configure this plugin is via Sopel's built-in wizard:

```sh
sopel-plugins configure slap
```

Right now, there is only one option:

* `verbs`: A list of verbs to choose from when slapping people. Overrides the
  default list if set.

Probably, the easiest way to make a custom list is to just press Enter twice
when the config wizard asks for a list of verbs, which will add the default
list to your bot's `.cfg` file. Then you can use your favorite text editor.

_(We're aware that Sopel's wizard doesn't have great UX when it comes to
entering lists. It'll get worked on someday, probably.)_

## Commands

<dl>
  <dt>.slap</dt>
  <dd>Make the bot slap you</dd>

  <dt>.slap nickname [reason]</dt>
  <dd>Slap someone else, with an optional reason</dd>
</dl>

_If your bot has a non-default `prefix`, substitute it for `.` above._

## Credits

This is based on [the original `slap.py`][original-slap.py] by Michael Yanovich
from [sopel-extras][], dating back to the late '00s/early '10s. It's been
rewritten more or less from scratch to do things in the modern Sopel way. The
only meaningful behavior change was dropping substitution of the caller's nick
for `me` and `myself`, as it's quite possible for a real person to use either of
those as a nick and _no one_\* should be safe from slaps!

\* — No one except the bot and its admins, that is.

[original-slap.py]: https://github.com/sopel-irc/sopel-extras/blob/81ee756223474cacdac6f5847772d6085d006a50/slap.py
[sopel-extras]: https://github.com/sopel-irc/sopel-extras

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sopel-slap",
    "maintainer": "dgw",
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "sopel, plugin, slap, pranks, bot, irc",
    "author": "dgw, Michael Yanovich",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/b0/a1/7955211d0e08f89c5f0620a50944e1bb63072e25ed6b7c7e79891b6cc75b/sopel_slap-0.3.2.tar.gz",
    "platform": "Linux x86, x86-64",
    "description": "# sopel-slap\n\nPlugin for Sopel that lets users slap each other in fun ways\n\n## Installation\n\n```sh\npip install sopel-slap\n```\n\n_Substitute the appropriate `pip` command based on your environment (e.g.\n`pip3` or `pip3.10` on systems with multiple Python versions available)._\n\n_If your Sopel configuration requires it, run `sopel-plugins enable slap`,\npassing the appropriate config name to `-c` if you have multiple bots._\n\n## Configuration\n\nThe easiest way to configure this plugin is via Sopel's built-in wizard:\n\n```sh\nsopel-plugins configure slap\n```\n\nRight now, there is only one option:\n\n* `verbs`: A list of verbs to choose from when slapping people. Overrides the\n  default list if set.\n\nProbably, the easiest way to make a custom list is to just press Enter twice\nwhen the config wizard asks for a list of verbs, which will add the default\nlist to your bot's `.cfg` file. Then you can use your favorite text editor.\n\n_(We're aware that Sopel's wizard doesn't have great UX when it comes to\nentering lists. It'll get worked on someday, probably.)_\n\n## Commands\n\n<dl>\n  <dt>.slap</dt>\n  <dd>Make the bot slap you</dd>\n\n  <dt>.slap nickname [reason]</dt>\n  <dd>Slap someone else, with an optional reason</dd>\n</dl>\n\n_If your bot has a non-default `prefix`, substitute it for `.` above._\n\n## Credits\n\nThis is based on [the original `slap.py`][original-slap.py] by Michael Yanovich\nfrom [sopel-extras][], dating back to the late '00s/early '10s. It's been\nrewritten more or less from scratch to do things in the modern Sopel way. The\nonly meaningful behavior change was dropping substitution of the caller's nick\nfor `me` and `myself`, as it's quite possible for a real person to use either of\nthose as a nick and _no one_\\* should be safe from slaps!\n\n\\* \u2014 No one except the bot and its admins, that is.\n\n[original-slap.py]: https://github.com/sopel-irc/sopel-extras/blob/81ee756223474cacdac6f5847772d6085d006a50/slap.py\n[sopel-extras]: https://github.com/sopel-irc/sopel-extras\n",
    "bugtrack_url": null,
    "license": "EFL-2.0",
    "summary": "Plugin for Sopel that lets users slap each other in fun ways",
    "version": "0.3.2",
    "project_urls": {
        "Bug Tracker": "https://github.com/sopel-irc/sopel-slap/issues",
        "Homepage": "https://github.com/sopel-irc/sopel-slap"
    },
    "split_keywords": [
        "sopel",
        " plugin",
        " slap",
        " pranks",
        " bot",
        " irc"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0faf0bc0f69643a6dc952ca81755cc4bc3805b954a15e73090e7f01fb4c34ac",
                "md5": "6d581d3db4f1dce30587a3f7677a66bb",
                "sha256": "17e800b1e8980319c0614f54874a4a429f76f3cc3f80a213fb4fc1ffc44dcb98"
            },
            "downloads": -1,
            "filename": "sopel_slap-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6d581d3db4f1dce30587a3f7677a66bb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 5635,
            "upload_time": "2024-09-10T06:05:05",
            "upload_time_iso_8601": "2024-09-10T06:05:05.100075Z",
            "url": "https://files.pythonhosted.org/packages/d0/fa/f0bc0f69643a6dc952ca81755cc4bc3805b954a15e73090e7f01fb4c34ac/sopel_slap-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b0a17955211d0e08f89c5f0620a50944e1bb63072e25ed6b7c7e79891b6cc75b",
                "md5": "824875fb314b7fa97ab31c0947a79088",
                "sha256": "4180c8a247c54662c1f7322083fb788b62691cb98875fcd812092d816d4d553c"
            },
            "downloads": -1,
            "filename": "sopel_slap-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "824875fb314b7fa97ab31c0947a79088",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 5146,
            "upload_time": "2024-09-10T06:05:06",
            "upload_time_iso_8601": "2024-09-10T06:05:06.438652Z",
            "url": "https://files.pythonhosted.org/packages/b0/a1/7955211d0e08f89c5f0620a50944e1bb63072e25ed6b7c7e79891b6cc75b/sopel_slap-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-10 06:05:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sopel-irc",
    "github_project": "sopel-slap",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "sopel-slap"
}
        
Elapsed time: 1.22508s