From 04fe912f35627c57ced53eba6268c9fa5ac0373f Mon Sep 17 00:00:00 2001 From: kevincaires Date: Sun, 14 Aug 2022 19:37:02 -0300 Subject: [PATCH] CHANGE image encoding. --- utils/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/commands.py b/utils/commands.py index 9c24f7b..ecf26c2 100644 --- a/utils/commands.py +++ b/utils/commands.py @@ -56,7 +56,7 @@ async def random_quote(bot: object) -> str: try: # To image links. if 'http' in chosen_one.quote: - return await bot.send(f'{chosen_one.quote}') + return await bot.send(f'{chosen_one.quote.encode("utf-8")}') return await bot.send(f'{chosen_one.quote}\n`By: {chosen_one.user}`') except Exception as ex: