From 2f77bcda13b0cd4c8b4ef2c91b7dca6b40b8c18d Mon Sep 17 00:00:00 2001 From: TKperson <50115012+TKperson@users.noreply.github.com> Date: Mon, 25 Oct 2021 12:35:58 -0700 Subject: [PATCH] Fixed pfp_urls adding bug --- c-realV2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-realV2.py b/c-realV2.py index 89e63ad..aa7b073 100644 --- a/c-realV2.py +++ b/c-realV2.py @@ -1813,7 +1813,7 @@ def alreadyExisted(checkingID): if len(args) > 1 and args[2].lower() == 'none': settings['webhook_spam']['pfp_urls'].append(None) await log(ctx, f'No pfp item has been added') - elif len(args) > 1 and (text := ' '.join(args[1:]).startswith(('https://', 'http://'))): + elif len(args) > 1 and (text := args[2].startswith(('https://', 'http://'))): settings['webhook_spam']['pfp_urls'].append(text) await log(ctx, f'URL added.') else: