diff --git a/cogs/rtfm_slash.py b/cogs/rtfm_slash.py index d18b23c..3862bb1 100644 --- a/cogs/rtfm_slash.py +++ b/cogs/rtfm_slash.py @@ -106,7 +106,7 @@ def __init__(self, bot: RTFMBot) -> None: async def rtfm_slash( self, interaction: Interaction[RTFMBot], - library: Library, + library: Optional[Library], query: Optional[Query], ) -> None: """Looks up docs for a library with optionally a query.