fixed insurance

This commit is contained in:
SeaswimmerTheFsh 2023-04-05 22:49:04 -04:00
parent 99bfb46429
commit 0378c06eed

View file

@ -130,9 +130,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Miner" ship_class = "Miner"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -143,9 +143,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Freighter" ship_class = "Freighter"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -156,9 +156,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Frigate" ship_class = "Frigate"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -169,9 +169,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Destroyer" ship_class = "Destroyer"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -182,9 +182,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Cruiser" ship_class = "Cruiser"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -195,9 +195,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Battlecruiser" ship_class = "Battlecruiser"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -208,9 +208,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Battleship" ship_class = "Battleship"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -221,9 +221,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Dreadnought" ship_class = "Dreadnought"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -234,9 +234,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Carrier" ship_class = "Carrier"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@insurance.command() @insurance.command()
@ -247,9 +247,9 @@ class Galaxy(commands.Cog):
cost_output = (f'{cost:,}') cost_output = (f'{cost:,}')
ship_class = "Super Capital" ship_class = "Super Capital"
embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Insurance Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="Ship Class", content={ship_class}) embed.add_field(name="Ship Class", value={ship_class})
embed.add_field(name="Ship Cost", content={cost_output}) embed.add_field(name="Ship Cost", value={cost_output})
embed.add_field(name="Insurance Amount", content={output}) embed.add_field(name="Insurance Amount", value={output})
await ctx.send(embed=embed) await ctx.send(embed=embed)
@commands.command(aliases=["wh"]) @commands.command(aliases=["wh"])