Compare commits

..

1 Commits

Author SHA1 Message Date
conatum 8818263d88 fix: Avoid using locale.language_string
Fixes an issue where this is not a valid attribute for some
interactions.
2026-07-22 17:13:13 +03:00
+1 -1
View File
@@ -56,7 +56,7 @@ class ProfilesCog(LionCog):
}
if interaction:
if interaction.locale:
args['locale_hint'] = interaction.locale.language_code
args['locale_hint'] = str(interaction.locale)
if user.avatar:
args['avatar'] = user.avatar.url
profile = await UserProfile.create(**args)