Skip to content

Plugins made by Raiden for Python Discord Modmail bot

License

Notifications You must be signed in to change notification settings

ironclad1/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

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

 
 
 

Contributors

Languages

  • Python 47.4%
  • HTML 36.4%
  • CSS 16.2%