Skip to content

Commit

Permalink
Change on_member_update to on_presence_update
Browse files Browse the repository at this point in the history
on_presence_update() replaces on_member_update for updates to Member.status and Member.activities.
  • Loading branch information
rutgerbeltman authored Dec 3, 2022
1 parent d5b7fe5 commit 17f5daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clanbotjas/cogs/voicechannelbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def on_voice_state_update(self, member, before, after):
# Make sure this is not an event within the same channel

@commands.Cog.listener()
async def on_member_update(self, before, after):
async def on_presence_update(self, before, after):
"""
check if the user is playing a different game.
:param args:
Expand Down

0 comments on commit 17f5daa

Please sign in to comment.