Skip to main content

Ready-made plugins for nerimity-sdk bots

Project description

nerimity-sdk-contrib

Ready-made plugins for nerimity-sdk bots.

pip install nerimity-sdk-contrib

Plugins

Plugin Description
WelcomePlugin Greets new members with a configurable message
AutoModPlugin Deletes messages matching a word/regex list
StarboardPlugin Reposts highly-reacted messages to a starboard channel
LoggingPlugin Logs joins, leaves, deletes, and edits to a channel

Usage

from nerimity_sdk_contrib import WelcomePlugin, AutoModPlugin, StarboardPlugin, LoggingPlugin

await bot.plugins.load(WelcomePlugin(channel_id="123"))
await bot.plugins.load(AutoModPlugin(blocked=["badword"], log_channel_id="456"))
await bot.plugins.load(StarboardPlugin(channel_id="789", threshold=3))
await bot.plugins.load(LoggingPlugin(channel_id="000"))

Adding a new plugin

  1. Create nerimity_sdk_contrib/your_plugin.py with a class inheriting PluginBase
  2. Import and re-export it in __init__.py
  3. Add it to the table above and to the plugin marketplace docs

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

nerimity_sdk_contrib-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

nerimity_sdk_contrib-0.1.0-py3-none-any.whl (1.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerimity_sdk_contrib-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nerimity_sdk_contrib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7c1bfbaf15f9e49cbc1945489d5045736749debb518c3bd5776cb8d4bc2cc1fc
MD5 55a96ca6ea192bf7ceca811614cf090c
BLAKE2b-256 1276c2f7a71696e7f5a9e95602b7e36787e82ff9ab48ed109a1a1ea40507da4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nerimity_sdk_contrib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2cceeca2b52b2c1d990899ec84dadc3364d3c8c60ef87547af073673880eabf
MD5 0adbea08df71d5f69d154a833c4599b1
BLAKE2b-256 4442ae7f2b4f286c4a57c0dc990877fff7064f4657505b721ccc8a408e291078

See more details on using hashes here.

Supported by

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