From bab99329498b0d4ee044f313eefa34ae9fb25ab8 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 31 Dec 2017 21:55:23 -0500 Subject: [PATCH] Fixed reference error --- src/cogs/booru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/booru.py b/src/cogs/booru.py index 185f366..cb5dcf8 100644 --- a/src/cogs/booru.py +++ b/src/cogs/booru.py @@ -560,7 +560,7 @@ class MsG: embed.set_author(name=f'{post["width"]} x {post["height"]}', url=f'https://e621.net/post?tags=ratio:{post["width"]/post["height"]:.2f}', icon_url=message.author.avatar_url) embed.set_footer(text=post['score'], - icon_url=self._get_score(post['score']['score'])) + icon_url=self._get_score(post['score'])) await message.channel.send('**Probable match from** {}'.format(message.author.display_name), embed=embed)