Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8818263d88 |
@@ -56,7 +56,7 @@ class ProfilesCog(LionCog):
|
|||||||
}
|
}
|
||||||
if interaction:
|
if interaction:
|
||||||
if interaction.locale:
|
if interaction.locale:
|
||||||
args['locale_hint'] = interaction.locale.language_code
|
args['locale_hint'] = str(interaction.locale)
|
||||||
if user.avatar:
|
if user.avatar:
|
||||||
args['avatar'] = user.avatar.url
|
args['avatar'] = user.avatar.url
|
||||||
profile = await UserProfile.create(**args)
|
profile = await UserProfile.create(**args)
|
||||||
|
|||||||
Reference in New Issue
Block a user