aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Gallardo <[email protected]>2020-10-04 12:00:44 -0700
committerGravatar GitHub <[email protected]>2020-10-04 12:00:44 -0700
commit122e471690a588c1bfc6224ca8afa85063001691 (patch)
tree07e52baa2e50c830832befe5cd172afe39f45dbf
parentApply suggestions from @gustavwilliam's code review (diff)
Apply suggestions from code review
Co-authored-by: gustavwilliam <[email protected]>
-rw-r--r--bot/exts/easter/save_the_planet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/easter/save_the_planet.py b/bot/exts/easter/save_the_planet.py
index 41a9e25d..811feb93 100644
--- a/bot/exts/easter/save_the_planet.py
+++ b/bot/exts/easter/save_the_planet.py
@@ -14,7 +14,7 @@ class SaveThePlanet(commands.Cog):
self.embed_data = []
with open(Path("bot/resources/easter/save_the_planet.json"), 'r', encoding='utf8') as f:
- self.embed_data = [embed for embed in json.load(f)]
+ self.embed_data = json.load(f)
@commands.command(aliases=('savetheearth', 'saveplanet', 'saveearth'))
async def savetheplanet(self, ctx: commands.Context) -> None: