Skip to content

Add moderator role check before size message - #403

Open
zak799 wants to merge 4 commits into
rHomelab:mainfrom
zak799:main
Open

zak799 wants to merge 4 commits into
rHomelab:mainfrom
zak799:main

Conversation

@zak799

@zak799 zak799 commented Nov 28, 2026 •

Copy link
Copy Markdown

Added a check for moderator roles before size comparison.

Initial Checklist

  • Has @tigattack been added as a reviewer?
  • If applicable, have the relevant project(s), milestone(s), and label(s) been applied?
  • If applicable, have you added details of the cog to the readme as per README.md?

Details

Does this resolve an issue?
Resolves 1 issue from many respondents

"there is a bug with the penis function that accidentally gives mods an increased length, fix the bug and reduce the moderators length to reach its true stats."

Changes

Features / Fixes

  • Fixed penis size accuracy for all moderators

Breaking Changes

  • Causes NO breaking issues.

Additional

yo you got dis one yh?

Added a check for moderator roles before size comparison.
@tigattack

Copy link
Copy Markdown
Member

I like the idea but would ask for two changes:

  • Red has native mod checks that would be better than looking for "mod" in the role name.
  • Add a toggle for the new behaviour - bit of a stretch goal, not a total blocker.

@zak799

zak799 commented Nov 28, 2026 •

Copy link
Copy Markdown
Author

@tigattack - Added changes:

  • RedBot was complaining about missing params in __init__.py, so passed bot into Penis()
  • Added the toggle as requested
  • Used native RedBot checks for if it's enabled and if current user is either a moderator or owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants