Skip to content

Commit

Permalink
Get-any-role bug fixed (thx andrew <3)
Browse files Browse the repository at this point in the history
  • Loading branch information
YurBoiRene committed Dec 17, 2022
1 parent bfddaec commit ef6c54d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ def check_has_role(member, role_name):
async def make_reaction_role(message):
if message.author.id != 633048088965021697:
await message.channel.send("Not authorized")
return

split = message.content.split()

Expand Down

1 comment on commit ef6c54d

@ndrewh
Copy link
Contributor

@ndrewh ndrewh commented on ef6c54d Dec 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have audited this code at least 3 or 4 times (and so have others), and only today I noticed this 🤦‍♂️ . cc @qxxxb

And to think I spent so much energy trying to make sure all the other messages were sent as 'embeds' just to avoid a controlled message send.

Please sign in to comment.