diff options
| author | 2021-08-22 21:48:34 +0100 | |
|---|---|---|
| committer | 2021-08-22 21:48:34 +0100 | |
| commit | 9c41f0bf3c9487a01f7b5aca32c8b288b99ac382 (patch) | |
| tree | 7b4578dd61fc879b7cbc3e87fe5f4df72da62804 | |
| parent | Revert `search_user` typehint back to `MemberOrUser` (diff) | |
Update outdated comment
| -rw-r--r-- | bot/exts/moderation/watchchannels/bigbrother.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/watchchannels/bigbrother.py b/bot/exts/moderation/watchchannels/bigbrother.py index 4ee69ec9b..3aa253fea 100644 --- a/bot/exts/moderation/watchchannels/bigbrother.py +++ b/bot/exts/moderation/watchchannels/bigbrother.py @@ -94,7 +94,7 @@ class BigBrother(WatchChannel, Cog, name="Big Brother"): await ctx.send(f":x: {user} is already being watched.") return - # FetchedUser instances don't have a roles attribute + # discord.User instances don't have a roles attribute if hasattr(user, "roles") and any(role.id in MODERATION_ROLES for role in user.roles): await ctx.send(f":x: I'm sorry {ctx.author}, I'm afraid I can't do that. I must be kind to my masters.") return |