Skip to main content

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 from sopel-extras by Michael Yanovich, 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sopel-slap-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

sopel_slap-0.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file sopel-slap-0.1.0.tar.gz.

File metadata

  • Download URL: sopel-slap-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/5.1.0 pkginfo/1.8.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for sopel-slap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7dace64fb04b3671fda9ce81fbac75e6246eea67b7393bcbe8ddce52f94a8aa
MD5 b9d18b83845e22628e4fb2b82876ec46
BLAKE2b-256 5f5a9292a5bafaedafa8735eb06aee5503a945ab95e1c9f0082cdf08afaa8b31

See more details on using hashes here.

Provenance

File details

Details for the file sopel_slap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sopel_slap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/5.1.0 pkginfo/1.8.1 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for sopel_slap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f687af5d9f8b9ee2a4ce8cadabf5fcadbcf9ebd617c43fd705729cc58163dc3
MD5 eda07bede3da41e6f95d3d8ba88836e7
BLAKE2b-256 8d18d51fd5d875653af8c9957b30a0ee0cbc193fb16d9f271260e28411fc6167

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page