james7132 / Hourai

The world's most advanced security and moderation bot for Discord.
https://hourai.gg
GNU General Public License v3.0
46 stars 16 forks source link

Make python side of Hourai recognize admins as mods #93

Open mokou opened 1 year ago

mokou commented 1 year ago

The rust side of Hourai recognizes anyone with a role that begins with "mod" or "admin" to be a moderator. The python side was never updated to recognize the "admin" prefix. This PR fixes this.

Summary

What kind of change does this PR introduce? (check at least one)

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

If people are relying on the broken behavior where the python half of the bot doesn't recognize admins as moderators, then it's a breaking change. I don't think that's commonplace, or a good idea though.