mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Downloader] Added "HIDDEN" field to cog info.json format (#657)
This commit is contained in:
parent
f32b3acd4c
commit
acb0fcac29
@ -138,6 +138,8 @@ class Downloader:
|
|||||||
if 'url' == cog:
|
if 'url' == cog:
|
||||||
continue
|
continue
|
||||||
data = self.get_info_data(repo_name, cog)
|
data = self.get_info_data(repo_name, cog)
|
||||||
|
if data and data.get("HIDDEN") is True:
|
||||||
|
continue
|
||||||
if data:
|
if data:
|
||||||
retlist.append([cog, data.get("SHORT", "")])
|
retlist.append([cog, data.get("SHORT", "")])
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user