mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[V3] Optimize the backup command (#1666)
* [V3 Core] Enhance [p]backup to exclude some files * Backup the repo list too * Lol Sinbad's pre-commit hook * Add option of sending the backup to the owner via DM * Drop an unnecessary config object in RepoManager * Move the backup functionality in redbot-setup to the new stuff * More work on implementation, including backing up the instance data
This commit is contained in:
@@ -496,8 +496,7 @@ class Repo(RepoJSONMixin):
|
||||
|
||||
class RepoManager:
|
||||
|
||||
def __init__(self, downloader_config: Config):
|
||||
self.downloader_config = downloader_config
|
||||
def __init__(self):
|
||||
|
||||
self._repos = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user