-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewdata.py
103 lines (103 loc) · 2.98 KB
/
newdata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import time
import json
import os
from sys import exit
def menu():
import json
file = open("settings.json", "r")
data = json.load(file)
file.close()
print('================================')
print(f'| [0] Exit And Save |')
print(f'| [1] Change All Settings |')
print(f'| [2] Change Token |')
print(f'| [3] Change Channel |')
print(f'| [4] Change Bet Amount |')
print(f'| [5] Change Rate Multiple |')
print(f'| [6] Change Max Bet Method |')
#print(f'| [7] Solve Capcha |')
#print(f'| [8] Change Webhook Settings |')
print('================================')
choice = input("Enter Your Choice: ")
if choice == "0":
raise SystemExit
if choice == "1":
t(data,"True")
c(data,"True")
bet(data,"True")
rate(data,"True")
maxbet(data,"True")
#solve(data,"True")
#webhook(data,"True")
if choice == "2":
t(data,"False")
if choice == "3":
c(data,"False")
if choice == "4":
bet(data,"False")
if choice == "5":
rate(data,"False")
if choice == "6":
maxbet(data,"False")
#if choice == "7":
#solve(data,"False")
#if choice == "8":
#webhook(data,"False")
def t(data,all):
data['token'] = input("Please Enter Your Account Token: ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def c(data,all):
data['channel'] = input("Please Enter Your Channel ID: ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def bet(data,all):
data['bet'] = input("Enter Your Bet Amount (Must Be Integer): ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def rate(data,all):
data['rate'] = input("Enter Your Bet Rate Multiple (Ngã ở đâu x? ở đó) (Best is x4) (x2 is not good) (Must Be Integer): ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def maxbet(data,all):
data['maxbet'] = input("Are you prefer all in to die or reset bet when the bet > 150k ? (AllIn/Reset): ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def solve(data, all):
data['solve'] = input("Toggle Automatically Solve Captcha With AI (YES/NO): ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()
def webhook(data,all):
data['webhook'] = input("Toggle Discord Webhook, Enter Webhook Link If You Want It To Ping You If OwO Asked Captcha. Otherwise Enter \"None\": ")
if data['webhook'] != "None":
data['webhookping'] = input("Do You Want To Ping A Specified User When OwO Asked Captcha? If Yes Enter User ID. Otherwise Enter \"None\": ")
file = open("settings.json", "w")
json.dump(data, file)
file.close()
print('Successfully saved!')
if not all == "True":
menu()