From 2ce32ee8a3234edd40d92629f271c37127957804 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq <60451863+stijndcl@users.noreply.github.com> Date: Thu, 26 May 2022 17:20:56 +0200 Subject: [PATCH] Disable freegames check cause epicgames is terrible --- functions/checks.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/checks.py b/functions/checks.py index 6e4d0bc..351e875 100644 --- a/functions/checks.py +++ b/functions/checks.py @@ -37,13 +37,13 @@ def freeGamesCheck(ctx): link = word.strip() break - if link == "": - return False - request = requests.head(link) - if request.status_code != 200: - return False + #if link == "": + # return False + #request = requests.head(link) + #if request.status_code != 200: + # return False - return True + return len(link) > 0 # Checks if a user can invest/gamble/... [amount]