fix(hotreload): fix typehint

This commit is contained in:
cswimr 2025-02-06 17:20:21 -06:00
parent 9b96a15621
commit e7714cd2df
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -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()