Skip to content

Commit

Permalink
Remove extra arg
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimShadyIAm committed Oct 13, 2024
1 parent 5b38f6e commit 65247be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/monitors/utils/xp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def assess_new_roles(self, new_level, member: discord.Member):
roles_to_add = []
if 15 > new_level and cfg.roles.new_member is not None:
roles_to_add.append(cfg.roles.new_member)
self.bot.tasks.schedule_remove_new_member_role(cfg.roles.new_member, member.id)
self.bot.tasks.schedule_remove_new_member_role(member.id)
if 15 <= new_level:
roles_to_add.append(cfg.roles.member_plus)
if 30 <= new_level:
Expand Down

0 comments on commit 65247be

Please sign in to comment.