Skip to content

Commit

Permalink
Update on_message.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahCxrest authored May 4, 2024
1 parent 33981b4 commit 56f0f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion events/on_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ async def on_message(self, message: discord.Message):

if bypass_roles is not None:
for role in bypass_roles:
if role in message.guild.roles:
if role in message.author.roles:
return

for mention in message.mentions:
Expand Down

0 comments on commit 56f0f56

Please sign in to comment.