Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion techsupport_bot/commands/factoids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ async def jobs(self, ctx: commands.Context):
description="Gets embed JSON for a factoid",
usage="[factoid-name]",
)
async def _json(self, ctx: commands.Context, factoid_name: str):
async def _json(self, ctx: commands.Context, factoid_name: str) -> None:
"""Gets the json of a factoid

Args:
Expand Down
2 changes: 1 addition & 1 deletion techsupport_bot/core/cogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(

asyncio.create_task(self._preconfig())

async def _handle_preconfig(self, handler):
async def _handle_preconfig(self, handler) -> None:
"""Wrapper for performing preconfig on an extension.

This makes the extension unload when there is an error.
Expand Down