Discord.py on_member_join not working, no error message

I am trying to make a discord bot with the Discord.py library. The commands with the @client.command() decorator work fine for me, but none of the event ones that I tried work. @client.event async...