Skip to content

Commit

Permalink
🚑 forgot something
Browse files Browse the repository at this point in the history
  • Loading branch information
Pukimaa committed Dec 2, 2022
1 parent 11ec685 commit 67dcca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def get_language(bot, guild_id: int | None = None):
for guild in bot.postgre_guilds:
if guild["guild_id"] == guild_id:
language = guild["language"]
return language
return language if language else "en"


def number_of_pages_needed(elements_per_page: int, total_elements: int):
Expand Down

0 comments on commit 67dcca7

Please sign in to comment.