aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/easter/save_the_planet.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/easter/save_the_planet.py')
-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 db9d3498..444bb030 100644
--- a/bot/exts/easter/save_the_planet.py
+++ b/bot/exts/easter/save_the_planet.py
@@ -8,14 +8,14 @@ from bot.bot import Bot
from bot.utils.randomization import RandomCycle
-with Path("bot/resources/easter/save_the_planet.json").open('r', encoding='utf8') as f:
+with Path("bot/resources/easter/save_the_planet.json").open("r", encoding="utf8") as f:
EMBED_DATA = RandomCycle(json.load(f))
class SaveThePlanet(commands.Cog):
"""A cog that teaches users how they can help our planet."""
- @commands.command(aliases=('savetheearth', 'saveplanet', 'saveearth'))
+ @commands.command(aliases=("savetheearth", "saveplanet", "saveearth"))
async def savetheplanet(self, ctx: commands.Context) -> None:
"""Responds with a random tip on how to be eco-friendly and help our planet."""
return_embed = Embed.from_dict(next(EMBED_DATA))