made tatsu_studs a string
This commit is contained in:
parent
b725881145
commit
409482a47f
1 changed files with 4 additions and 3 deletions
|
@ -17,10 +17,11 @@ class Galaxy(commands.Cog):
|
|||
|
||||
@commands.command(aliases=["pxc", "pc", "polarisconvert", "tatsutopolaris", "ttp"])
|
||||
@commands.guild_only()
|
||||
async def polarisxpconvert(self, ctx, *, tatsu_studs: int):
|
||||
async def polarisxpconvert(self, ctx, *, tatsu_studs: str):
|
||||
"""Converts Tatsu Studs to Polaris XP."""
|
||||
math = round((tatsu_studs/25)*10)
|
||||
output_from = f'{tatsu_studs:,}'
|
||||
tatsu_studs_str = f"{tatsu_studs}".replace(",", "")
|
||||
math = round((tatsu_studs_str/25)*10)
|
||||
output_from = f'{tatsu_studs_str:,}'
|
||||
output_to = f'{math:,}'
|
||||
embed = discord.Embed(color=await self.bot.get_embed_color(None))
|
||||
embed.add_field(name="Tatsu Studs", value=f"{output_from}", inline=False)
|
||||
|
|
Loading…
Reference in a new issue