forgot bulk command discord decorator...

This commit is contained in:
Taledo's PC 2026-09-23 15:43:34 +02:00
parent f4ff7f7711
commit b81c06f1f6

View File

@ -181,7 +181,7 @@ class IdaCogs(commands.Cog):
print(f"[{datetime.isoformat(datetime.now())}]{author} delivery of {quantity} of {commodity} to a {target}")
await helpers.writeDeliveryToCommandFile(author, data)
else:
await ctx.followup.send(f"Google returned an error. (HTTP {response}). But your delivery may have gone through. Maybe. Maybe not? who knows? Not fucking Google apparently. ")
await ctx.followup.send(f"Google returned an error. (HTTP {response}). But your delivery has probably been recorded on the sheet. I'm just not able to know for sure. Please check the sheet before double logging it.")
except Exception as e:
await ctx.followup.send(f"Something broke. Why do you keep breaking the bot, uh? :(")
@ -221,7 +221,7 @@ class IdaCogs(commands.Cog):
print(f"[{datetime.isoformat(datetime.now())}]{author} delivery of {quantity} of Miscellaneous to a {target}")
await helpers.writeDeliveryToCommandFile(author, data)
else:
await ctx.followup.send(f"Failed to log delivery (HTTP {response}). Please contact the yellow people if that keeps happening")
await ctx.followup.send(f"Google returned an error. (HTTP {response}). But your delivery has probably been recorded on the sheet. I'm just not able to know for sure. Please check the sheet before double logging it.")
except Exception as e:
await ctx.followup.send(f"help : Error: {e}")
@ -253,7 +253,7 @@ class IdaCogs(commands.Cog):
print(f"[{datetime.isoformat(datetime.now())}] delivery of {data['quantity']} of {data['commodity']} to a {data['target']}")
await helpers.writeDeliveryToCommandFile(author, data)
else:
await ctx.followup.send(f"Failed to log delivery (HTTP {response}). Please contact the yellow people if that keeps happening")
await ctx.followup.send(f"Google returned an error. (HTTP {response}). But your delivery has probably been recorded on the sheet. I'm just not able to know for sure. Please check the sheet before double logging it.")
except Exception as e:
await ctx.followup.send(f"help : Error: {e}")
else: