fix: updated the rest of the commands to have value as their argument name
This commit is contained in:
parent
274333909f
commit
6d72e62558
1 changed files with 20 additions and 20 deletions
|
@ -159,54 +159,54 @@ class Galaxy(commands.Cog):
|
||||||
return embed
|
return embed
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def miner(self, ctx: commands.Context, cost: int):
|
async def miner(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for miners. (70%)"""
|
"""Calculates insurance for miners. (70%)"""
|
||||||
await ctx.send(embed=await self._insurance('miner', cost))
|
await ctx.send(embed=await self._insurance('miner', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def freighter(self, ctx: commands.Context, cost: int):
|
async def freighter(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for freighters. (65%)"""
|
"""Calculates insurance for freighters. (65%)"""
|
||||||
await ctx.send(embed=await self._insurance('freighter', cost))
|
await ctx.send(embed=await self._insurance('freighter', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def frigate(self, ctx: commands.Context, cost: int):
|
async def frigate(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for frigates. (60%)"""
|
"""Calculates insurance for frigates. (60%)"""
|
||||||
await ctx.send(embed=await self._insurance('frigate', cost))
|
await ctx.send(embed=await self._insurance('frigate', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def destroyer(self, ctx: commands.Context, cost: int):
|
async def destroyer(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for destroyers. (55%)"""
|
"""Calculates insurance for destroyers. (55%)"""
|
||||||
await ctx.send(embed=await self._insurance('destroyer', cost))
|
await ctx.send(embed=await self._insurance('destroyer', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def cruiser(self, ctx: commands.Context, cost: int):
|
async def cruiser(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for cruisers. (50%)"""
|
"""Calculates insurance for cruisers. (50%)"""
|
||||||
await ctx.send(embed=await self._insurance('cruiser', cost))
|
await ctx.send(embed=await self._insurance('cruiser', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def battlecruiser(self, ctx: commands.Context, cost: int):
|
async def battlecruiser(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for battlecruisers. (40%)"""
|
"""Calculates insurance for battlecruisers. (40%)"""
|
||||||
await ctx.send(embed=await self._insurance('battlecruiser', cost))
|
await ctx.send(embed=await self._insurance('battlecruiser', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def battleship(self, ctx: commands.Context, cost: int):
|
async def battleship(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for battleships. (35%)"""
|
"""Calculates insurance for battleships. (35%)"""
|
||||||
await ctx.send(embed=await self._insurance('battleship', cost))
|
await ctx.send(embed=await self._insurance('battleship', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def dreadnought(self, ctx: commands.Context, cost: int):
|
async def dreadnought(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for dreadnoughts. (30%)"""
|
"""Calculates insurance for dreadnoughts. (30%)"""
|
||||||
await ctx.send(embed=await self._insurance('dreadnought', cost))
|
await ctx.send(embed=await self._insurance('dreadnought', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def carrier(self, ctx: commands.Context, cost: int):
|
async def carrier(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for carriers. (30%)"""
|
"""Calculates insurance for carriers. (30%)"""
|
||||||
await ctx.send(embed=await self._insurance('carrier', cost))
|
await ctx.send(embed=await self._insurance('carrier', value))
|
||||||
|
|
||||||
@insurance.command()
|
@insurance.command()
|
||||||
async def supercapital(self, ctx: commands.Context, cost: int):
|
async def supercapital(self, ctx: commands.Context, value: int):
|
||||||
"""Calculates insurance for super capitals. (25%)"""
|
"""Calculates insurance for super capitals. (25%)"""
|
||||||
await ctx.send(embed=await self._insurance('super_capital', cost))
|
await ctx.send(embed=await self._insurance('super_capital', value))
|
||||||
|
|
||||||
@commands.command(aliases=["wh"])
|
@commands.command(aliases=["wh"])
|
||||||
async def warehouse(self, ctx: commands.Context, lvlfrom: int = 1, lvlto: int = 38):
|
async def warehouse(self, ctx: commands.Context, lvlfrom: int = 1, lvlto: int = 38):
|
||||||
|
|
Loading…
Reference in a new issue