diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index db91744..e3e8713 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -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)