fix(backup): contains isn't a thing

This commit is contained in:
Seaswimmer 2024-01-31 14:18:37 -05:00
parent bbecff3ed0
commit add1e3ef1d
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -95,7 +95,7 @@ class Backup(commands.Cog):
url = repo['url'] url = repo['url']
cogs = repo['cogs'] cogs = repo['cogs']
if url.contains('PyLav/Red-Cogs'): if 'PyLav/Red-Cogs' in url:
repo_e.append("PyLav cogs are not supported.") repo_e.append("PyLav cogs are not supported.")
continue continue
if name.startswith('.') or name.endswith('.'): if name.startswith('.') or name.endswith('.'):