diff options
| -rw-r--r-- | bot/cogs/doc.py | 6 | ||||
| -rw-r--r-- | bot/converters.py | 2 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/bot/cogs/doc.py b/bot/cogs/doc.py index 40b31f90c..c9e6b3b91 100644 --- a/bot/cogs/doc.py +++ b/bot/cogs/doc.py @@ -319,9 +319,9 @@ class Doc(commands.Cog):          Example:              !docs set \ -                    discord \ -                    https://discordpy.readthedocs.io/en/rewrite/ \ -                    https://discordpy.readthedocs.io/en/rewrite/objects.inv +                    python \ +                    https://docs.python.org/3/ \ +                    https://docs.python.org/3/objects.inv          """          body = {              'package': package_name, diff --git a/bot/converters.py b/bot/converters.py index 339da7b60..6d6453486 100644 --- a/bot/converters.py +++ b/bot/converters.py @@ -49,7 +49,7 @@ class ValidURL(Converter):              async with ctx.bot.http_session.get(url) as resp:                  if resp.status != 200:                      raise BadArgument( -                        f"HTTP GET on `{url}` returned status `{resp.status_code}`, expected 200" +                        f"HTTP GET on `{url}` returned status `{resp.status}`, expected 200"                      )          except CertificateError:              if url.startswith('https'): | 
