Skip to main content

Karma plugin for Sopel IRC bots

Project description

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:

$ pip install sopel-rep

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.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.

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_rep-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

sopel_rep-1.0.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file sopel_rep-1.0.0.tar.gz.

File metadata

  • Download URL: sopel_rep-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for sopel_rep-1.0.0.tar.gz
Algorithm Hash digest
SHA256 051e8921d30fafeba9fbdb0e8b360dbf4952c80e0158aed907a9556a4c7037d1
MD5 4494350d5be04c8016c5887de2ac1d34
BLAKE2b-256 e0f249b14302d93864c23a82c4ee75262c7cd19f273c5de881194551a52f25d9

See more details on using hashes here.

File details

Details for the file sopel_rep-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sopel_rep-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for sopel_rep-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b774d3035e3eadb13b74b62e406c6f6c60c3de0354b0df7b4a7908e66d80ca4
MD5 5800f716790d47f7502f88ef3420d12e
BLAKE2b-256 5df6c84c75c371aec5d6955bf33dc995fca299949ec72cac4d35bfa7139827e6

See more details on using hashes here.

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