diff options
-rw-r--r-- | bot/exts/evergreen/status_codes.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bot/exts/evergreen/status_codes.py b/bot/exts/evergreen/status_codes.py index 089bdb4a..181c71ce 100644 --- a/bot/exts/evergreen/status_codes.py +++ b/bot/exts/evergreen/status_codes.py @@ -52,6 +52,11 @@ class HTTPStatusCodes(commands.Cog): @http_status_group.command(name="dog") async def http_dog(self, ctx: commands.Context, code: int) -> None: """Sends an embed with an image of a dog, portraying the status code.""" + # These codes aren't server-friendly. + if code in (304, 422): + await self.http_cat(ctx, code) + return + embed = discord.Embed(title=f"**Status: {code}**") url = HTTP_DOG_URL.format(code=code) |