Disable freegames check cause epicgames is terrible

This commit is contained in:
Stijn De Clercq 2022-05-26 17:20:56 +02:00 committed by GitHub
parent 90dec2f5e4
commit 2ce32ee8a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]