update refill cmd
This commit is contained in:
1 parent
cc52ed006f
commit
3e1ff8c71e
1 file changed
+1
@@ -1379,6 +1379,7 @@ class Banking(commands.Cog):
|
|||||||
@commands.has_any_role("The Croak Council", "Government")
|
@commands.has_any_role("The Croak Council", "Government")
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def refill(self, ctx: CustomCtx, ids: commands.Greedy[int]):
|
async def refill(self, ctx: CustomCtx, ids: commands.Greedy[int]):
|
||||||
|
await ctx.send(f"> calculating raws")
|
||||||
revenue_data = await self.get_alliance_rev(ids)
|
revenue_data = await self.get_alliance_rev(ids)
|
||||||
def calc_tosend(raw: float, on_nation: float):
|
def calc_tosend(raw: float, on_nation: float):
|
||||||
return int(7 * abs(raw) - on_nation)
|
return int(7 * abs(raw) - on_nation)
|
||||||
|
|||||||
Reference in new issue
Block a user