FIX: Wrong variable

pull/3/head
Kamal Curi 2 years ago
parent 7d662ee3c3
commit 874501c9ef

@ -176,7 +176,7 @@ async def by_id(bot: object, _id: int=None) -> str:
data = f'{quote.quote}\n`By: {quote.user}`'
else:
data = f'{quote.quote}\n`By: {quote.user} and grabbed by {quote.grabber}`'
return await bot.send(content)
return await bot.send(data)
except Exception as ex:
return await bot.send(ex)

Loading…
Cancel
Save