aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
authorGravatar Chris Gallardo <[email protected]>2020-10-02 15:27:57 -0700
committerGravatar Chris Gallardo <[email protected]>2020-10-02 15:27:57 -0700
commitaf275fdbb150d86849fed5d04c23c266b1ac79d1 (patch)
treedbc2e112335e0eb08448957f8363f6a53a74f125 /bot/exts
parentlinted (diff)
Added responses
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/easter/save_the_planet.py4
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: