aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/status_cats.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/status_cats.py b/bot/exts/evergreen/status_cats.py
index e28b0213..900f0ad6 100644
--- a/bot/exts/evergreen/status_cats.py
+++ b/bot/exts/evergreen/status_cats.py
@@ -1,8 +1,8 @@
import logging
-
-from discord.ext import commands
from http import HTTPStatus
+
import discord
+from discord.ext import commands
log = logging.getLogger(__name__)
@@ -14,7 +14,7 @@ class StatusCats(commands.Cog):
self.bot = bot
@commands.command(aliases=['statuscat'])
- async def http_cat(self, ctx, code: int) -> None:
+ async def http_cat(self, ctx: commands.Context, code: int) -> None:
"""Sends an embed with an image of a cat, potraying the status code."""
embed = discord.Embed(title=f'**Status: {code}**')
embed.set_image(url=f'https://http.cat/{code}.jpg')