#360 #361

Merged
edraft merged 8 commits from #360 into support 2023-09-24 20:33:09 +02:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit c06cb02cd6 - Show all commits

View File

@ -230,7 +230,7 @@ class ClientUtilsService(ClientUtilsABC):
default_role = member.guild.get_role(settings.default_role_id)
if default_role in member.roles:
return
await member.add_roles(default_role)
except Exception as e:

View File

@ -45,7 +45,7 @@ class DataIntegrityService:
user_joins_vc: UserJoinedVoiceChannelRepositoryABC,
user_joined_gs: UserJoinedGameServerRepositoryABC,
achievement_service: AchievementService,
client_utils: ClientUtilsABC,
client_utils: ClientUtilsABC,
dtp: DateTimeOffsetPipe,
):
self._config = config

View File

@ -35,7 +35,7 @@ class BaseOnMemberJoinEvent(OnMemberJoinABC):
users: UserRepositoryABC,
servers: ServerRepositoryABC,
user_joins: UserJoinedServerRepositoryABC,
client_utils: ClientUtilsABC,
client_utils: ClientUtilsABC,
translate: TranslatePipe,
):
OnMemberJoinABC.__init__(self)