I am using discord.py to make my discord bot and when somebody types a message I want to check if the user is lets say foo#3645 and then do something if it is not then do something else
if(messageAuthor == "foo#3645):
# do something
else:
# do something else
I tried this:
if(ctx.message.author == "foo#3465"):
# do something
but that is not working for some reason...
If you need more info please comment.