forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-27 23:26:20 +02:00
parent 3c8f269e21
commit 0b32db43c0
2 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@ def shuffle(stuff):
class Slots:
command_word = "!slots"
casino_word = "!casino"
minimum_bet = 5
minimum_bet = 100
maximum_bet = INFINITY
payout_to_symbols = {
2: ["👣", "🍀", "🌈", "⭐️"],

View File

@ -212,7 +212,7 @@ def api_comment(v):
except Exception as e:
print(e)
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:
marsey = loads(body.lower())
name = marsey["name"]
@ -600,7 +600,8 @@ def edit_comment(cid, v):
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 v.marseyawarded: