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
- Create
nerimity_sdk_contrib/your_plugin.pywith a class inheritingPluginBase - Import and re-export it in
__init__.py - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06273aaa4dad5b8fb72cfc4c41954f8edc2ca405597fc7d5a416e69ab94a236d
|
|
| MD5 |
2bafbdeac736115542fad79137c002cf
|
|
| BLAKE2b-256 |
b1ceb15ee5aa27b761fd1d6fe8f2d079880f69b1eb0b32e55b13493dbabcdf30
|
File details
Details for the file nerimity_sdk_contrib-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nerimity_sdk_contrib-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50338a93afa69df1e2e4d964fcde8595396088a536e8214963c6cb23f7e6248c
|
|
| MD5 |
4cab24863126df88fcad22b9577ccb31
|
|
| BLAKE2b-256 |
cf171606937e1f3cb1133d6f0fb21620c284e791d6f2854b2e0068af700c64bd
|