diff --git a/clients/discord.py b/clients/discord.py index 7000785..4259aea 100644 --- a/clients/discord.py +++ b/clients/discord.py @@ -235,8 +235,9 @@ class DiscordClient(discord.Client): else: embed = discord.Embed(title=result['name'], url=result['url'], description=result['description'], color=0xffd700) - embed.set_thumbnail(url=result['image']) - embed.set_image(url=result['image']) + if result['image']: + embed.set_thumbnail(url=result['image']) + embed.set_image(url=result['image']) for point in result['summary']: try: name, value = point.split(':')