master #475
@ -12,5 +12,5 @@ class ShortRoleNameOnMemberUpdateEvent(OnMemberUpdateABC):
|
||||
|
||||
@EventChecks.check_is_ready
|
||||
async def on_member_update(self, before: discord.member.Member, after: discord.member.Member):
|
||||
if before.roles != after.roles or before.name != after.name:
|
||||
if before.roles != after.roles or before.name != after.name or before.display_name != after.display_name:
|
||||
await self._service.check_short_role_names(after)
|
||||
|
Loading…
Reference in New Issue
Block a user