From acb0fcac29f8da6ed0e6cbb6e0739fed96af8e80 Mon Sep 17 00:00:00 2001 From: Kowlin Date: Tue, 14 Mar 2017 01:54:17 +0100 Subject: [PATCH] [Downloader] Added "HIDDEN" field to cog info.json format (#657) --- cogs/downloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/downloader.py b/cogs/downloader.py index 2a363f1fe..1a9d4bf87 100644 --- a/cogs/downloader.py +++ b/cogs/downloader.py @@ -138,6 +138,8 @@ class Downloader: if 'url' == cog: continue data = self.get_info_data(repo_name, cog) + if data and data.get("HIDDEN") is True: + continue if data: retlist.append([cog, data.get("SHORT", "")]) else: