Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Update events.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaBhushan1 committed Jul 10, 2021
1 parent cce36d6 commit 2c4924b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cogs/smanager/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async def on_message(self,message):
# print('not scrims')
return

elif "credo-smanger" in [role.name for role in message.author.roles]:
elif "credo-smanager" in [role.name for role in message.author.roles]:
# print('bot,role')
return

Expand Down Expand Up @@ -387,7 +387,7 @@ async def on_tag_check_message(self,message):
if not data:
return

if message.author.bot or "teabot-smanger" in [role.name for role in message.author.roles]:
if message.author.bot or "credo-smanager" in [role.name for role in message.author.roles]:
return

mentions = len([mem for mem in message.mentions])
Expand Down

0 comments on commit 2c4924b

Please sign in to comment.