From ea33765e11c54659730d1198d2aeeeb1be1bb5ee Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 27 Feb 2023 23:34:57 -0500 Subject: [PATCH] fixed self.bot.get_embed_color --- galaxy/galaxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy/galaxy.py b/galaxy/galaxy.py index 718d075..329bb60 100644 --- a/galaxy/galaxy.py +++ b/galaxy/galaxy.py @@ -15,7 +15,7 @@ class Galaxy(commands.Cog): total_to = (f'{warehouse_levels[lvlto]:,}') output = warehouse_levels[lvlto] - warehouse_levels[lvlfrom] 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="To:", value=f"Warehouse Level: {lvlto}\nTotal Cost: {total_to} Credits") embed.add_field(name="Output:", value=f"{total} Credits")