diff options
| author | 2019-04-24 17:20:30 -0400 | |
|---|---|---|
| committer | 2019-04-24 17:20:30 -0400 | |
| commit | b611ff92ea69cc1ac6b82aa3f06b9d9675e86a82 (patch) | |
| tree | 0fdb47359609c44479a331b5684dcb3d50a1ff56 /bot/seasons/halloween/spookyavatar.py | |
| parent | Remove docstring newline linting from ignored codes (diff) | |
Relint Seasonalbot with new linting rules
Diffstat (limited to 'bot/seasons/halloween/spookyavatar.py')
| -rw-r--r-- | bot/seasons/halloween/spookyavatar.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/seasons/halloween/spookyavatar.py b/bot/seasons/halloween/spookyavatar.py index 15c7c431..4b0ba9f5 100644 --- a/bot/seasons/halloween/spookyavatar.py +++ b/bot/seasons/halloween/spookyavatar.py @@ -19,8 +19,7 @@ class SpookyAvatar(commands.Cog): self.bot = bot async def get(self, url): - """Returns the contents of the supplied url.""" - + """Returns the contents of the supplied URL.""" async with aiohttp.ClientSession() as session: async with session.get(url) as resp: return await resp.read() @@ -29,7 +28,6 @@ class SpookyAvatar(commands.Cog): brief='Spookify an user\'s avatar.') async def spooky_avatar(self, ctx, user: discord.Member = None): """A command to print the user's spookified avatar.""" - if user is None: user = ctx.message.author @@ -50,6 +48,5 @@ class SpookyAvatar(commands.Cog): def setup(bot): """Spooky avatar Cog load.""" - bot.add_cog(SpookyAvatar(bot)) log.info("SpookyAvatar cog loaded") |