FIX: whoops, wrong variable

ipm
Kamal Curi 2 years ago
parent 94836cbeca
commit 901b1bc8f3

@ -151,7 +151,7 @@ async def random_quote(bot: object) -> str:
content = f'{chosen_one.quote}\n`By: {chosen_one.user}`' content = f'{chosen_one.quote}\n`By: {chosen_one.user}`'
else: else:
content = f'{chosen_one.quote}\n`By: {chosen_one.user} and grabbed by {chosen_one.grabber}`' content = f'{chosen_one.quote}\n`By: {chosen_one.user} and grabbed by {chosen_one.grabber}`'
return await bot.send(quote_content) return await bot.send(content)
except Exception as ex: except Exception as ex:
return await bot.send(ex) return await bot.send(ex)

Loading…
Cancel
Save