Skip to content

Commit

Permalink
fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
VeryBigSad committed Feb 4, 2024
1 parent 167b3f1 commit 21dd111
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/tgbot/senders/achievements.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ async def send_achievement_if_needed(user_id: int) -> None:
user_info = await get_user_info(user_id)
if user_info["type"] == UserType.USER and user_info["nmemes_sent"] == 1000:
wants_to_be_mod_text = localizer.t(
"ask_if_user_wants_to_be_moderator",
user_info["interface_lang"]
"ask_if_user_wants_to_be_moderator", user_info["interface_lang"]
)
await bot.send_message(
chat_id=user_id,
Expand Down
2 changes: 1 addition & 1 deletion src/tgbot/senders/meme_watched_achievements.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


async def send_meme_watched_achievement_if_needed(
user_id: int, user_info: dict
user_id: int, user_info: dict
) -> bool:
"""Send achievement about watching a certain amount of memes if needed
Expand Down

0 comments on commit 21dd111

Please sign in to comment.