[fix]: Translation fix

This commit is contained in:
Sweetbread
2023-05-16 16:55:25 +03:00
parent cada18c9f9
commit 260da8a11b
3 changed files with 14 additions and 28 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ def translate(string, region):
else:
return string
async def get_text(inter, location, string):
async def get_text(inter, string, location = None):
data = await inter.translate(
string=app_commands.locale_str(string),
locale=inter.locale,