diff options
Diffstat (limited to 'bot/exts')
| -rw-r--r-- | bot/exts/easter/save_the_planet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/easter/save_the_planet.py b/bot/exts/easter/save_the_planet.py index ff4893a8..1494d9f5 100644 --- a/bot/exts/easter/save_the_planet.py +++ b/bot/exts/easter/save_the_planet.py @@ -14,8 +14,8 @@ class SaveThePlanet(commands.Cog): def __init__(self, bot: commands.Bot) -> None: self.bot = bot with open(Path("bot/resources/save_the_planet.json"), 'r', encoding='utf8') as f: - for key, embed in json.load(f).items(): - self.json_embeds[key] = embed + for embed in json.load(f): + self.json_embeds.append(embed) @commands.command(aliases=('savetheearth', 'saveplanet', 'saveearth')) async def savetheplanet(self, ctx: commands.Context) -> None: |