Compare commits
1 Commits
ce46bd49fe
...
0363dc2bcd
| Author | SHA1 | Date | |
|---|---|---|---|
| 0363dc2bcd |
@@ -51,6 +51,8 @@ class ProfilesComponent(cmds.Component):
|
|||||||
args['avatar'] = user.profile_image.url
|
args['avatar'] = user.profile_image.url
|
||||||
except twitchio.HTTPException:
|
except twitchio.HTTPException:
|
||||||
pass
|
pass
|
||||||
|
except IndexError:
|
||||||
|
pass
|
||||||
profile = await UserProfile.create(**args)
|
profile = await UserProfile.create(**args)
|
||||||
await TwitchProfileLink.create(profileid=profile.profileid, userid=userid)
|
await TwitchProfileLink.create(profileid=profile.profileid, userid=userid)
|
||||||
elif touch:
|
elif touch:
|
||||||
|
|||||||
Reference in New Issue
Block a user