misc: changed the title of the insurance embed

This commit is contained in:
Seaswimmer 2023-07-30 12:16:06 -04:00
parent 6d72e62558
commit d83571dbeb
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -152,7 +152,7 @@ class Galaxy(commands.Cog):
humanized_class = ship_class.capitalize() humanized_class = ship_class.capitalize()
insurance_amount = (f"{round(value * insurance_dict[f'{ship_class}']):,}") insurance_amount = (f"{round(value * insurance_dict[f'{ship_class}']):,}")
value_output = (f'{value:,}') value_output = (f'{value:,}')
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Payout", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", value=f"{humanized_class}", inline=False) embed.add_field(name="Ship Class", value=f"{humanized_class}", inline=False)
embed.add_field(name="Ship Value", value=f"{value_output}", inline=False) embed.add_field(name="Ship Value", value=f"{value_output}", inline=False)
embed.add_field(name="Insurance Amount", value=f"{insurance_amount}", inline=False) embed.add_field(name="Insurance Amount", value=f"{insurance_amount}", inline=False)