Plugin for Sopel that lets users slap each other in fun ways
Project description
sopel-slap
Plugin for Sopel that lets users slap each other in fun ways
Installation
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.
Commands
- .slap
- Make the bot slap you
- .slap nickname [reason]
- Slap someone else, with an optional reason
If your bot has a non-default prefix
, substitute it for .
above.
Credits
This is based on the 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.
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
File details
Details for the file sopel_slap-0.2.0.tar.gz
.
File metadata
- Download URL: sopel_slap-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48acd3390a79ee0f2b77614086cf14e84d83d7d2896ba4618ba200fd3dd0f0e |
|
MD5 | 29013326f25aa886548f2b1b52ebd8a6 |
|
BLAKE2b-256 | 8c73bb09331c63c9b768bc6714fdd2609b58ae73960fffc5e04ea6c9137c0c17 |
File details
Details for the file sopel_slap-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: sopel_slap-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d154351d52ea9909e9a565563f76aac9c47b8e4ffaae2df6da7eda3bbec4b39 |
|
MD5 | b2090062a07e2e0a16ea4a1ac79df376 |
|
BLAKE2b-256 | b0df6ca413d64db9f64e0e0817e18b99ecec8b30b203992080ed912562ee24d5 |