aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/alias.py7
-rw-r--r--bot/cogs/site.py3
2 files changed, 3 insertions, 7 deletions
diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py
index 0df5498a1..0f49a400c 100644
--- a/bot/cogs/alias.py
+++ b/bot/cogs/alias.py
@@ -54,11 +54,8 @@ class Alias (Cog):
await self.invoke(ctx, "site resources")
@command(name="tools", hidden=True)
- async def site_tools_alias(self, ctx):
- """
- Alias for invoking <prefix>site tools.
- """
-
+ async def site_tools_alias(self, ctx: Context) -> None:
+ """Alias for invoking <prefix>site tools."""
await self.invoke(ctx, "site tools")
@command(name="watch", hidden=True)
diff --git a/bot/cogs/site.py b/bot/cogs/site.py
index 8a8fed575..c3bdf85e4 100644
--- a/bot/cogs/site.py
+++ b/bot/cogs/site.py
@@ -57,9 +57,8 @@ class Site(Cog):
await ctx.send(embed=embed)
@site_group.command(name="tools")
- async def site_tools(self, ctx: Context):
+ async def site_tools(self, ctx: Context) -> None:
"""Info about the site's Tools page."""
-
tools_url = f"{PAGES_URL}/tools"
embed = Embed(title="Tools")