From 75b7925d051ad19f3e8f0317ae4c7050db7b82aa Mon Sep 17 00:00:00 2001 From: Twentysix Date: Tue, 6 Dec 2016 23:00:46 +0100 Subject: [PATCH] [Downloader] Ignore empty install messages --- cogs/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/downloader.py b/cogs/downloader.py index 1ae2339a1..803d05a65 100644 --- a/cogs/downloader.py +++ b/cogs/downloader.py @@ -346,7 +346,7 @@ class Downloader: data = self.get_info_data(repo_name, cog) if data is not None: install_msg = data.get("INSTALL_MSG", None) - if install_msg is not None: + if install_msg: await self.bot.say(install_msg[:2000]) if install_cog: await self.bot.say("Installation completed. Load it now? (yes/no)")