{"id":20420028,"url":"https://github.com/raidensakura/modmail-plugins","last_synced_at":"2025-04-12T17:52:23.374Z","repository":{"id":213141736,"uuid":"733127959","full_name":"raidensakura/modmail-plugins","owner":"raidensakura","description":"Plugins made by Raiden for Python Discord Modmail bot","archived":false,"fork":false,"pushed_at":"2024-08-27T16:40:50.000Z","size":653,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T12:11:58.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raidensakura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"raidensakura","github":"raidensakura"}},"created_at":"2023-12-18T16:15:22.000Z","updated_at":"2024-08-27T16:40:53.000Z","dependencies_parsed_at":"2023-12-18T20:05:06.630Z","dependency_job_id":"92589533-c389-401f-b41b-897ab7fb19b1","html_url":"https://github.com/raidensakura/modmail-plugins","commit_stats":null,"previous_names":["raidensakura/modmail-plugins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fmodmail-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fmodmail-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fmodmail-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raidensakura%2Fmodmail-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raidensakura","download_url":"https://codeload.github.com/raidensakura/modmail-plugins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610407,"owners_count":21132920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T06:41:19.109Z","updated_at":"2025-04-12T17:52:23.354Z","avatar_url":"https://github.com/raidensakura.png","language":"Python","funding_links":["https://ko-fi.com/raidensakura","https://github.com/sponsors/raidensakura","https://ko-fi.com/P5P6D65UW"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cimg src=\"https://files.catbox.moe/92mfqx.png\"\u003e\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n \u003ca href=\"https://github.com/raidensakura\"\u003e\u003cimg src=\"https://img.shields.io/badge/modmail--plugins-by%20Raiden-d11df9\"\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/Cog-Creators/Red-DiscordBot\"\u003e\u003cimg src=\"https://img.shields.io/badge/Modmail%20-V4-cyan.svg\"\u003e\u003c/a\u003e\n \u003ca href=\"[https://github.com/raidensakura](https://github.com/python/black)\"\u003e\u003cimg src=\"https://img.shields.io/badge/code%20style-black-1c1c1c.svg\"\u003e\u003c/a\u003e\n \u003ca href=\"https://dsc.gg/transience/\"\u003e\u003cimg src=\"https://discord.com/api/guilds/616969119685935162/widget.png\"\u003e\u003c/a\u003e\u003cbr\u003e\n \u003ca href=\"https://ko-fi.com/P5P6D65UW\"\u003e\u003cimg src=\"https://storage.ko-fi.com/cdn/brandasset/kofi_button_red.png\" style=\"height: 25px;\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003eA collection of \u003cstrike\u003ebadly written\u003c/strike\u003e plugins for Python Discord Modmail bot.\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eInstallation\u003c/h2\u003e\n\nMake sure to set `REGISTRY_PLUGINS_ONLY` in your environment variables to `False` otherwise installation will fail.\n\n```ini\n[p]plugin install raidensakura/modmail-plugins/[plugin_name]@main\n[p]plugin load raidensakura/modmail-plugins/[plugin_name]@main\n```\n\n\u003ch2 align=\"center\"\u003eList of Plugins\u003c/h2\u003e\n\n\u003ctable align=\"center\"\u003e\n \n \u003cthead\u003e\n  \u003ctr\u003e\n   \u003ctd\u003eName\u003c/td\u003e\n   \u003ctd\u003eDescription\u003c/td\u003e\n  \u003c/tr\u003e\n \u003c/thead\u003e\n \n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"https://github.com/raidensakura/modmail-plugins/tree/main/logviewer\"\u003eLogviewer\u003c/a\u003e\u003c/td\u003e\n  \u003ctd\u003eA modification of \u003ca href=\"https://github.com/Jerrie-Aries/modmail-plugins/tree/master/logviewer\"\u003eJerrie-Aries' logviewer plugin\u003c/a\u003e with OAuth support and a log list page.\u003cbr\u003e\u003cbr\u003eTo enable OAuth, make sure these variables exist in your environment:\n  \u003cul\u003e\n  \u003cli\u003e\u003ccode\u003eOAUTH2_CLIENT_ID\u003c/code\u003e - The ID of your bot\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eOAUTH2_CLIENT_SECRET\u003c/code\u003e - Get this from the general information section of your bot app in the Discord dev portal\u003c/li\u003e\n  \u003cli\u003e\u003ccode\u003eOAUTH2_REDIRECT_URI\u003c/code\u003e - This will be equal to the URL of your log viewer app + \u003ccode\u003e/callback\u003c/code\u003e e.g. \u003ccode\u003ehttps://logwebsite.com/callback\u003c/code\u003e. You will need to add this same URL as a redirect URL in the OAuth2 section in the Discord dev portal.\u003cbr\u003e\u003c/li\u003e\n  \u003c/ul\u003eLastly, add users or roles to whitelist to access the logs with \u003ccode\u003e[p]oauth whitelist @user/role\u003c/code\u003e\n  \u003c/td\u003e\n \u003c/tr\u003e\n\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"https://github.com/raidensakura/modmail-plugins/tree/main/say\"\u003eSay\u003c/a\u003e\u003c/td\u003e\n  \u003ctd\u003eA port of \u003ca href=\"https://github.com/laggron42/Laggrons-Dumb-Cogs/tree/v3/say\"\u003eEl Laggron's say cog\u003c/a\u003e for Red Discord bot with some incompatible features removed.\u003c/td\u003e\n \u003c/tr\u003e\n\n \u003ctr\u003e\n  \u003ctd\u003e\u003ca href=\"https://github.com/raidensakura/modmail-plugins/tree/main/video-preview\"\u003eVideo Preview\u003c/a\u003e\u003c/td\u003e\n  \u003ctd\u003eBounty plugin made for neya. It simply sends a link of a video attachment inside the thread channel so it can be played within the client.\u003c/td\u003e\n \u003c/tr\u003e\n \n\u003c/table\u003e\n\n\u003ch2 align=\"center\"\u003eDev Stuff\u003c/h2\u003e\n\n\u003ch3 align=\"center\"\u003eFormatting\u003c/h3\u003e\n\u003cp align=\"center\"\u003eMake sure poetry is installed (I recommend using pipx).\u003c/p\u003e\n\n```py\npoetry install --no-root --only dev\npre-commit install\n```\n\n\u003ch2 align=\"center\"\u003eCredits\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cul\u003e\n  \u003cli\u003e\u003ca href=\"https://github.com/modmail-dev\"\u003emodmail-dev\u003c/a\u003e for Modmail bot and parts of the OAuth codes.\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"https://github.com/Jerrie-Aries\"\u003eJerrie-Aries\u003c/a\u003e for the original logviewer plugin.\u003c/li\u003e\n \u003c/ul\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraidensakura%2Fmodmail-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraidensakura%2Fmodmail-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraidensakura%2Fmodmail-plugins/lists"}