Skip to content

raidensakura/modmail-plugins

Repository files navigation



A collection of badly written plugins for Python Discord Modmail bot.

Installation

Make sure to set REGISTRY_PLUGINS_ONLY in your environment variables to False otherwise installation will fail.

[p]plugin install raidensakura/modmail-plugins/[plugin_name]@main
[p]plugin load raidensakura/modmail-plugins/[plugin_name]@main

List of Plugins

Name Description
Logviewer A modification of Jerrie-Aries' logviewer plugin with OAuth support and a log list page.

To enable OAuth, make sure these variables exist in your environment:
  • OAUTH2_CLIENT_ID - The ID of your bot
  • OAUTH2_CLIENT_SECRET - Get this from the general information section of your bot app in the Discord dev portal
  • OAUTH2_REDIRECT_URI - This will be equal to the URL of your log viewer app + /callback e.g. https://logwebsite.com/callback. You will need to add this same URL as a redirect URL in the OAuth2 section in the Discord dev portal.
Lastly, add users or roles to whitelist to access the logs with [p]oauth whitelist @user/role
Say A port of El Laggron's say cog for Red Discord bot with some incompatible features removed.

Dev Stuff

Formatting

Make sure poetry is installed (I recommend using pipx).

poetry install --no-root --only dev
pre-commit install

Credits

About

Plugins made by Raiden for Python Discord Modmail bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages