diff options
| author | 2020-10-02 15:27:57 -0700 | |
|---|---|---|
| committer | 2020-10-02 15:27:57 -0700 | |
| commit | af275fdbb150d86849fed5d04c23c266b1ac79d1 (patch) | |
| tree | dbc2e112335e0eb08448957f8363f6a53a74f125 /bot/exts/easter/save_the_planet.py | |
| parent | linted (diff) | |
Added responses
Diffstat (limited to 'bot/exts/easter/save_the_planet.py')
| -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: |