PBOwner / modmail-plugins

Plugins made by Raiden for Python Discord Modmail bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



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

License:GNU Affero General Public License v3.0


Languages

Language:Python 57.4%Language:HTML 29.5%Language:CSS 13.1%