mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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:
|
||||
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user