Skip to main content

sopel-rulesof

"Rules of X" plugins for Sopel IRC bots.

Installing

Releases are hosted on PyPI, so after installing Sopel, all you need is pip:

$ pip install sopel-rulesof

Depending on your Sopel bot's configuration, you might need to enable or disable the specific rules_of_x plugins (see below) that you want your bot to use. You can do so with the sopel-plugins command, e.g.:

$ sopel-plugins enable rules_of_acquisition

Available rule collections

  • rules_of_acquisition: The Ferengi Rules of Acquisition
  • rules_of_the_internet: The Rules of the Internet (Rule 34 & friends)

Installation requirements

The sopel-rulesof package is written with Python 3 and Sopel 8.0+ in mind. Installation on Python 2, or usage with Sopel 7.x, is not supported.

Using

rules_of_acquisition

Commands:

  • .roa
    • Call without arguments to grab a random Rule of Acquisition
    • Call with a single number to print that specific Rule (e.g. .roa 153)
    • Call with a word or phrase to pick a random rule containing it (e.g. .roa justification)

rules_of_the_internet

Commands:

  • .roti
    • Call without arguments to grab a random Rule of the Internet
    • Call with a single number to print that specific Rule (e.g. .roti 34)
    • Call with a word or phrase to pick a random rule containing it (e.g. .roti talk about)

Changelog

0.1.0

First release of sopel-rulesof plugin collection.

Launch plugins are rules_of_acquisition and rules_of_the_internet.

Download files

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

Source Distribution

sopel_rulesof-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sopel_rulesof-0.1.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file sopel_rulesof-0.1.0.tar.gz.

File metadata

  • Download URL: sopel_rulesof-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for sopel_rulesof-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e66b464f23d0ee615f6dfa36a8efec825a70026adc4523fd4309f0af47febc60
MD5 1e984202e86bcc1e27e8d10fec07b7dc
BLAKE2b-256 b80a4510b6685b9b6f5cca88d5be65ae09655d983c6e0a9372d647318e24c7c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_rulesof-0.1.0.tar.gz:

Publisher: pypi.yml on dgw/sopel-rulesof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: sopel_rulesof-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for sopel_rulesof-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f98c2089c29464b1da4f0332b0b278aa716903fc72c679ec8f354579bb542c6
MD5 8be0f88314bb518fd3714b8c6e728944
BLAKE2b-256 20c881383da565df8764fe2f965d8cc9f1f22e65b1496b6462a8350e7e6fa350

See more details on using hashes here.

Provenance

The following attestation bundles were made for sopel_rulesof-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on dgw/sopel-rulesof

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page