Skip to content

Commit

Permalink
Fix user_service.find_by_id() method call in on_member_join() event (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperAnonymous authored Feb 22, 2024
1 parent 9491e55 commit 53f07e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/management/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async def setup(self, ctx: commands.Context):
@commands.Cog.listener()
async def on_member_join(self, member: discord.Member):
"""This event is called when a member joins the server."""
adept_member = await self.user_service.find_by_id(member.id)
adept_member = self.user_service.find_by_id(member.id)
if adept_member:
return await welcome.process_welcome_result(member, adept_member)

Expand Down

0 comments on commit 53f07e3

Please sign in to comment.