Skip to content

Commit

Permalink
sphinx: Ensure cog_before_invoke has docstring to eliminate error.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Mar 17, 2024
1 parent 41fcdc3 commit 6822565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inatcog/inatcog.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def __init__(self, bot: commands.Bot):
self._ready_event: asyncio.Event = asyncio.Event()

async def cog_before_invoke(self, ctx: commands.Context):
"""Initialization before cog is invoked."""
await self._ready_event.wait()

async def initialize(self) -> None:
Expand Down

0 comments on commit 6822565

Please sign in to comment.