-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path__main__.py
More file actions
148 lines (125 loc) · 3.17 KB
/
__main__.py
File metadata and controls
148 lines (125 loc) · 3.17 KB
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
import asyncio
from pyrogram import idle
from . import (Venom1, Venom2, Venom3, Venom4,
Venom5, Venom6, Venom7, Venom8,
Venom9, Venom10, Venom11, Venom12,
Venom13, Venom14, Venom15, vcbot)
from . import (call_py1, call_py2, call_py3, call_py4,
call_py5, call_py6, call_py7, call_py8,
call_py9, call_py10, call_py11, call_py12,
call_py13, call_py14, call_py15)
async def startup():
# STARTING CLIENTS
if Venom1:
try:
await Venom1.start()
except Exception as e:
print(str(e))
if Venom2:
try:
await Venom2.start()
except Exception as e:
print(str(e))
if Venom3:
try:
await Venom3.start()
except Exception as e:
print(str(e))
if Venom4:
try:
await Venom4.start()
except Exception as e:
print(str(e))
if Venom5:
try:
await Venom5.start()
except Exception as e:
print(str(e))
if Venom6:
try:
await Venom6.start()
except Exception as e:
print(str(e))
if Venom7:
try:
await Venom7.start()
except Exception as e:
print(str(e))
if Venom8:
try:
await Venom8.start()
except Exception as e:
print(str(e))
if Venom9:
try:
await Venom9.start()
except Exception as e:
print(str(e))
if Venom10:
try:
await Venom10.start()
except Exception as e:
print(str(e))
if Venom11:
try:
await Venom11.start()
except Exception as e:
print(str(e))
if Venom12:
try:
await Venom12.start()
except Exception as e:
print(str(e))
if Venom13:
try:
await Venom13.start()
except Exception as e:
print(str(e))
if Venom14:
try:
await Venom14.start()
except Exception as e:
print(str(e))
if Venom15:
try:
await Venom15.start()
except Exception as e:
print(str(e))
# STARTING BOT CLIENT
await vcbot.start()
# STARTING ASSISTANTS
if call_py1:
await call_py1.start()
if call_py2:
await call_py2.start()
if call_py3:
await call_py3.start()
if call_py4:
await call_py4.start()
if call_py5:
await call_py5.start()
if call_py6:
await call_py6.start()
if call_py7:
await call_py7.start()
if call_py8:
await call_py8.start()
if call_py9:
await call_py9.start()
if call_py10:
await call_py10.start()
if call_py11:
await call_py11.start()
if call_py12:
await call_py12.start()
if call_py13:
await call_py13.start()
if call_py14:
await call_py14.start()
if call_py15:
await call_py15.start()
# STARTUP COMPLETED
await idle()
loop = asyncio.get_event_loop()
if __name__ == "__main__":
loop.run_until_complete(startup())