FIX: Bot still needs to return thq qid after trying again

develop
Kamal Curi 1 year ago
parent 202ce25439
commit 5df8c35d55

@ -5,7 +5,7 @@
█ ▄ █ ▄▄▄█ ▄▄▄█ ▄ ██ █▄▄▄█ ▄▄▄█ █ ▄ █ ▄▄▄█ ▄▄▄█ ▄ ██ █▄▄▄█ ▄▄▄█
█ █ █ █ █▄▄▄█ █▄▄▄█ █▄█ █ █ █▄▄▄ █ █ █ █ █▄▄▄█ █▄▄▄█ █▄█ █ █ █▄▄▄
█▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█ █▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█
Neeble version: 2024.01.23 Neeble version: 2024.01.25
Help with the development of neeble-bot in Help with the development of neeble-bot in
https://brejela.club/gitea/neeble-club/neeble https://brejela.club/gitea/neeble-club/neeble
Thank you! Thank you!

@ -95,6 +95,7 @@ async def quote(bot: object, *quote: str) -> str:
await bot.send("SQL did an oopsie! Trying again...") await bot.send("SQL did an oopsie! Trying again...")
sleep(2) sleep(2)
qtid = set_quote(user, quote, date, "#nograb") qtid = set_quote(user, quote, date, "#nograb")
return await bot.send(f"Done: `{quote}\n` ID: `{qtid}`")
return await bot.send(f'{ex.args}\n_What the fuck are you doing?_') return await bot.send(f'{ex.args}\n_What the fuck are you doing?_')
else: else:
global stack_limit global stack_limit

Loading…
Cancel
Save