aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/halloween/spookygif.py
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-05-11 04:51:30 +1000
committerGravatar GitHub <[email protected]>2019-05-11 04:51:30 +1000
commit0e2c6a1b0daef5b569da7652801b5725bf1ed95b (patch)
treec3d57e50f2ba07cb2d9e7476d3b9441c1f671bd9 /bot/seasons/halloween/spookygif.py
parentnot importing aiohttp now (diff)
parentMerge pull request #198 from Suhail6inkling/constants_fix (diff)
Merge branch 'master' into hanukkah_embed_iceman
Diffstat (limited to 'bot/seasons/halloween/spookygif.py')
-rw-r--r--bot/seasons/halloween/spookygif.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/bot/seasons/halloween/spookygif.py b/bot/seasons/halloween/spookygif.py
index c11d5ecb..37d46c01 100644
--- a/bot/seasons/halloween/spookygif.py
+++ b/bot/seasons/halloween/spookygif.py
@@ -10,18 +10,14 @@ log = logging.getLogger(__name__)
class SpookyGif(commands.Cog):
- """
- A cog to fetch a random spooky gif from the web!
- """
+ """A cog to fetch a random spooky gif from the web!"""
def __init__(self, bot):
self.bot = bot
@commands.command(name="spookygif", aliases=("sgif", "scarygif"))
async def spookygif(self, ctx):
- """
- Fetches a random gif from the GIPHY API and responds with it.
- """
+ """Fetches a random gif from the GIPHY API and responds with it."""
async with ctx.typing():
async with aiohttp.ClientSession() as session:
@@ -39,5 +35,7 @@ class SpookyGif(commands.Cog):
def setup(bot):
+ """Spooky GIF Cog load."""
+
bot.add_cog(SpookyGif(bot))
log.info("SpookyGif cog loaded")