From ec495e2bf7a3e85b0a169686a720bacb2cb36702 Mon Sep 17 00:00:00 2001 From: phixxy Date: Wed, 19 Jul 2023 23:16:20 -0700 Subject: [PATCH] updated RSGP function again --- sparkytron3000.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sparkytron3000.py b/sparkytron3000.py index f35019c..354f30d 100644 --- a/sparkytron3000.py +++ b/sparkytron3000.py @@ -715,12 +715,12 @@ async def rsgp(ctx, amount): osbondcost = (int(amount)/gold_per_bond_os) * cost_per_bond 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(rwtcost) + " (RWT)\n" - output += str(amount) + ' rs3 gp would cost: $' + str(bondcost) + " (Bonds)\n" - output += str(amount) + ' dollars spent on rs3 gp would be: ' + str(dollar_gp) + " (RS3 GP)\n" - output += str(amount) + ' osrs gp would cost: $' + str(rwtcost) + " (RWT)\n" - output += str(amount) + ' osrs gp would cost: $' + str(bondcost) + " (Bonds)\n" - output += str(amount) + ' dollars spent on osrs gp would be: ' + str(dollar_gp) + " (OSRS GP)\n" + output += str(amount) + ' rs3 gp would cost: $' + str(round(rwtcost,2)) + " (RWT)\n" + output += str(amount) + ' rs3 gp would cost: $' + str(round(bondcost,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) + " (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" await ctx.send(output) @bot.command(