forked from blizzthewolf/SeaCogs
fix(backup): do not uninstall yourself
This commit is contained in:
parent
49907e7803
commit
053b5b7472
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ class Backup(commands.Cog):
|
||||||
|
|
||||||
cog_modules = []
|
cog_modules = []
|
||||||
for cog in cogs:
|
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:
|
try:
|
||||||
cog_module = await InstalledCog.convert(ctx, cog['name'])
|
cog_module = await InstalledCog.convert(ctx, cog['name'])
|
||||||
except commands.BadArgument:
|
except commands.BadArgument:
|
||||||
|
|
Loading…
Reference in a new issue