Compare commits

...

2 Commits

Author SHA1 Message Date
Sven Heidemann 3c21b68b0c Check user update username
Deploy prod on push / pre-build (push) Successful in 2s Details
Deploy staging on push / pre-build (push) Successful in 1s Details
Deploy prod on push / build-bot (push) Successful in 3m12s Details
Deploy prod on push / build-web (push) Successful in 1m53s Details
Deploy staging on push / build-bot (push) Successful in 2m1s Details
Deploy prod on push / deploy (push) Successful in 23s Details
Deploy staging on push / build-web (push) Successful in 2m1s Details
Deploy staging on push / deploy (push) Successful in 22s Details
2024-02-03 19:21:57 +01:00
Sven Heidemann df316fd53b Merge pull request 'Use db pools' (#470) from staging into master
Deploy prod on push / pre-build (push) Successful in 1s Details
Deploy prod on push / build-bot (push) Successful in 2m3s Details
Deploy prod on push / build-web (push) Successful in 1m49s Details
Deploy prod on push / deploy (push) Successful in 23s Details
Reviewed-on: #470
2024-02-01 20:30:03 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -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)