mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Silent cog repo update
This commit is contained in:
parent
1a3dd95f2c
commit
627e2099ac
@ -139,7 +139,7 @@ class Downloader:
|
|||||||
print("Downloading cogs repo...")
|
print("Downloading cogs repo...")
|
||||||
call(["git", "clone", "https://github.com/Twentysix26/Red-Cogs.git", "data/downloader"]) # It's blocking but it shouldn't matter
|
call(["git", "clone", "https://github.com/Twentysix26/Red-Cogs.git", "data/downloader"]) # It's blocking but it shouldn't matter
|
||||||
else:
|
else:
|
||||||
Popen(["git", "-C", "data/downloader", "pull"])
|
Popen(["git", "-C", "data/downloader", "pull", "-q"])
|
||||||
|
|
||||||
def setup(bot):
|
def setup(bot):
|
||||||
n = Downloader(bot)
|
n = Downloader(bot)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user