mirror of https://github.com/stijndcl/didier
parent
90dec2f5e4
commit
2ce32ee8a3
|
@ -37,13 +37,13 @@ def freeGamesCheck(ctx):
|
||||||
link = word.strip()
|
link = word.strip()
|
||||||
break
|
break
|
||||||
|
|
||||||
if link == "":
|
#if link == "":
|
||||||
return False
|
# return False
|
||||||
request = requests.head(link)
|
#request = requests.head(link)
|
||||||
if request.status_code != 200:
|
#if request.status_code != 200:
|
||||||
return False
|
# return False
|
||||||
|
|
||||||
return True
|
return len(link) > 0
|
||||||
|
|
||||||
|
|
||||||
# Checks if a user can invest/gamble/... [amount]
|
# Checks if a user can invest/gamble/... [amount]
|
||||||
|
|
Loading…
Reference in New Issue