diff --git a/hotreload/hotreload.py b/hotreload/hotreload.py index 579e7db..268a41a 100644 --- a/hotreload/hotreload.py +++ b/hotreload/hotreload.py @@ -60,7 +60,7 @@ class HotReload(commands.Cog): ] return "\n".join(text) - async def get_paths(self) -> Generator[Path]: + async def get_paths(self) -> Generator[Path, None, None]: """Retrieve user defined paths.""" cog_manager = self.bot._cog_mgr # noqa: SLF001 # We have to use this private method because there is no public API to get user defined paths cog_paths = await cog_manager.user_defined_paths()