1.1.0 #352

Merged
edraft merged 145 commits from 1.1.0 into master 2023-08-24 17:50:25 +02:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 28944755ac - Show all commits

View File

@ -53,7 +53,7 @@ class AchievementOnReactionAddEvent(OnReactionAddABC):
return
server = self._servers.get_server_by_discord_id(user.guild.id)
user = self._users.get_user_by_discord_id_and_server_id(user.author.id, server.id)
user = self._users.get_user_by_discord_id_and_server_id(user.id, server.id)
user.reaction_count += 1
self._db.save_changes()

View File

@ -53,7 +53,7 @@ class AchievementOnReactionRemoveEvent(OnReactionRemoveABC):
return
server = self._servers.get_server_by_discord_id(user.guild.id)
user = self._users.get_user_by_discord_id_and_server_id(user.author.id, server.id)
user = self._users.get_user_by_discord_id_and_server_id(user.id, server.id)
user.reaction_count -= 1
self._db.save_changes()

View File

@ -50,6 +50,6 @@ class AchievementOnVoiceStateUpdateEvent(OnVoiceStateUpdateABC):
return
server = self._servers.get_server_by_discord_id(member.guild.id)
user = self._users.get_user_by_discord_id_and_server_id(member.author.id, server.id)
user = self._users.get_user_by_discord_id_and_server_id(member.id, server.id)
await self._achievements.validate_achievements_for_user(user)