1
0
Fork 0
mirror of synced 2024-05-19 20:12:30 +12:00

Correct a couple key changes

This commit is contained in:
phxntxm 2017-06-12 00:48:31 -05:00
parent 51f3696308
commit e98f1504cc

View file

@ -118,8 +118,8 @@ class Picarto:
# Not everyone has all these settings, so use this as a way to print information if it does, otherwise ignore it
things_to_print = ['comissions', 'adult', 'followers', 'category', 'online']
embed = discord.Embed(title='{}\'s Picarto'.format(data['channel']), url=member_url)
if data['avatar_url']:
embed = discord.Embed(title='{}\'s Picarto'.format(data['name']), url=member_url)
if data.get('avatar_url'):
embed.set_thumbnail(url=data['avatar_url'])
for i, result in data.items():