made everything inline=False

This commit is contained in:
Seaswimmer 2023-02-28 00:38:30 -05:00
parent eca76b5d48
commit d335bbafda

View file

@ -16,8 +16,8 @@ class Galaxy(commands.Cog):
output = warehouse_levels[lvlto] - warehouse_levels[lvlfrom] output = warehouse_levels[lvlto] - warehouse_levels[lvlfrom]
total = (f'{output:,}') total = (f'{output:,}')
embed = discord.Embed(title="Warehouse Cost", color=await self.bot.get_embed_color(None)) embed = discord.Embed(title="Warehouse Cost", color=await self.bot.get_embed_color(None))
embed.add_field(name="From:", value=f"Warehouse Level: {lvlfrom}\nTotal Cost: {total_from} Credits") embed.add_field(name="From:", value=f"Warehouse Level: {lvlfrom}\nTotal Cost: {total_from} Credits", inline=False)
embed.add_field(name="To:", value=f"Warehouse Level: {lvlto}\nTotal Cost: {total_to} Credits") embed.add_field(name="To:", value=f"Warehouse Level: {lvlto}\nTotal Cost: {total_to} Credits", inline=False)
embed.add_field(name="Output:", value=f"{total} Credits", inline=False) embed.add_field(name="Output:", value=f"{total} Credits", inline=False)
if lvlfrom == lvlto: if lvlfrom == lvlto:
await ctx.send(contents="``lvlfrom`` cannot be the same as ``lvlto``.") await ctx.send(contents="``lvlfrom`` cannot be the same as ``lvlto``.")