diff --git a/backup/backup.py b/backup/backup.py index 8cf936a..6459572 100644 --- a/backup/backup.py +++ b/backup/backup.py @@ -95,7 +95,7 @@ class Backup(commands.Cog): url = repo['url'] cogs = repo['cogs'] - if url.contains('PyLav/Red-Cogs'): + if 'PyLav/Red-Cogs' in url: repo_e.append("PyLav cogs are not supported.") continue if name.startswith('.') or name.endswith('.'):