From 4357fe1ba9f73e0e352168696d9b4cbaee684521 Mon Sep 17 00:00:00 2001 From: Michael H Date: Thu, 11 Oct 2018 16:23:04 -0400 Subject: [PATCH] [Core] Fixes reload, and prompted reload on cog update (#2226) Fix something missed when QAing #2207 --- redbot/core/core_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 21144cd0a..3366b69b3 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -197,14 +197,14 @@ class CoreLogic: async def _reload( self, cog_names: Sequence[str] - ) -> Tuple[List[str], List[str], List[str], List[str]]: + ) -> Tuple[List[str], List[str], List[str], List[str], List[Tuple[str, str]]]: await self._unload(cog_names) loaded, load_failed, not_found, already_loaded, load_failed_with_reason = await self._load( cog_names ) - return loaded, load_failed, not_found, already_loaded + return loaded, load_failed, not_found, already_loaded, load_failed_with_reason async def _name(self, name: Optional[str] = None) -> str: """