From e092c4e65b38e8075e24c78e602a59f05ee3e97d Mon Sep 17 00:00:00 2001 From: phixxy Date: Tue, 25 Jul 2023 17:23:17 -0700 Subject: [PATCH] Fixed some bugs in rsgp, and formatted it --- sparkytron3000.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index 5840011..549ec73 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -710,11 +710,11 @@ async def rsgp(ctx, amount): osrwtcost = (int(amount) * cost_per_bil_os / 1000000000) osdollar_gp = (int(amount)*1000000000)/cost_per_bil_os output += str(amount) + ' rs3 gp would cost: $' + str(round(rwtcost,2)) + " (RWT)\n" + output += str(amount) + ' osrs gp would cost: $' + str(round(osrwtcost,2)) + " (RWT)\n" output += str(amount) + ' rs3 gp would cost: $' + str(round(bondcost,2)) + " (Bonds)\n" + output += str(amount) + ' osrs gp would cost: $' + str(round(osbondcost,2)) + " (Bonds)\n" output += str(amount) + ' dollars spent on rs3 gp would be: ' + str(round(dollar_gp,2)) + " (RS3 GP)\n" - output += str(amount) + ' osrs gp would cost: $' + str(round(rwtcost,2)) + " (RWT)\n" - output += str(amount) + ' osrs gp would cost: $' + str(round(bondcost,2)) + " (Bonds)\n" - output += str(amount) + ' dollars spent on osrs gp would be: ' + str(round(dollar_gp,2)) + " (OSRS GP)\n" + output += str(amount) + ' dollars spent on osrs gp would be: ' + str(round(osdollar_gp,2)) + " (OSRS GP)\n" await ctx.send(output) @bot.command(