vxcvcx
This commit is contained in:
parent
0732faecb7
commit
a16c4b37a9
2 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@ def shuffle(stuff):
|
||||||
class Slots:
|
class Slots:
|
||||||
command_word = "!slots"
|
command_word = "!slots"
|
||||||
casino_word = "!casino"
|
casino_word = "!casino"
|
||||||
minimum_bet = 5
|
minimum_bet = 100
|
||||||
maximum_bet = INFINITY
|
maximum_bet = INFINITY
|
||||||
payout_to_symbols = {
|
payout_to_symbols = {
|
||||||
2: ["👣", "🍀", "🌈", "⭐️"],
|
2: ["👣", "🍀", "🌈", "⭐️"],
|
||||||
|
|
|
@ -212,7 +212,7 @@ def api_comment(v):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
return {"error": "You didn't follow the format retard"}, 400
|
return {"error": "You didn't follow the format retard"}, 400
|
||||||
elif v.id in (CARP_ID,AEVANN_ID) and parent_post.id == 37838:
|
elif v.admin_level > 2 and parent_post.id == 37838:
|
||||||
try:
|
try:
|
||||||
marsey = loads(body.lower())
|
marsey = loads(body.lower())
|
||||||
name = marsey["name"]
|
name = marsey["name"]
|
||||||
|
@ -600,7 +600,8 @@ def edit_comment(cid, v):
|
||||||
|
|
||||||
body = request.values.get("body", "").strip()[:10000]
|
body = request.values.get("body", "").strip()[:10000]
|
||||||
|
|
||||||
if len(body) < 1: return {"error":"You have to actually type something!"}, 400
|
if len(body) < 1 and not (request.files.get("file") and request.headers.get("cf-ipcountry") != "T1"):
|
||||||
|
return {"error":"You have to actually type something!"}, 400
|
||||||
|
|
||||||
if body != c.body or request.files.get("file") and request.headers.get("cf-ipcountry") != "T1":
|
if body != c.body or request.files.get("file") and request.headers.get("cf-ipcountry") != "T1":
|
||||||
if v.marseyawarded:
|
if v.marseyawarded:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue