From add1e3ef1d822e1f6075df5937575bb818a8411c Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 31 Jan 2024 14:18:37 -0500 Subject: [PATCH] fix(backup): contains isn't a thing --- backup/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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('.'):