From 053b5b747228ffae4ca65444b866473d0e91f4a6 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 31 Jan 2024 15:56:28 -0500 Subject: [PATCH] fix(backup): do not uninstall yourself --- backup/backup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backup/backup.py b/backup/backup.py index 821ed0c..ffa2238 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -152,6 +152,9 @@ class Backup(commands.Cog): cog_modules = [] for cog in cogs: + # If you're forking this cog, make sure to change these strings! + if cog['name'] == "backup" and 'SeaswimmerTheFsh/SeaCogs' in url: + continue try: cog_module = await InstalledCog.convert(ctx, cog['name']) except commands.BadArgument: