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.2.0.tar.gz (4.1 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.2.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nerimity_sdk_contrib-0.2.0.tar.gz
  • Upload date:
  • Size: 4.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 06273aaa4dad5b8fb72cfc4c41954f8edc2ca405597fc7d5a416e69ab94a236d
MD5 2bafbdeac736115542fad79137c002cf
BLAKE2b-256 b1ceb15ee5aa27b761fd1d6fe8f2d079880f69b1eb0b32e55b13493dbabcdf30

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nerimity_sdk_contrib-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50338a93afa69df1e2e4d964fcde8595396088a536e8214963c6cb23f7e6248c
MD5 4cab24863126df88fcad22b9577ccb31
BLAKE2b-256 cf171606937e1f3cb1133d6f0fb21620c284e791d6f2854b2e0068af700c64bd

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