Compare commits
1 Commits
c9b6ce8f60
...
8818263d88
| Author | SHA1 | Date | |
|---|---|---|---|
| 8818263d88 |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user