-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.py
56 lines (43 loc) · 1.39 KB
/
index.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
from colorama import init, Fore, Style
from src.application import Application
from src.log import Log
from src.multi_account import MultiAccount
from src.services.telegram import Telegram
import sys
init()
banner = """
*******************************************************************************
** BOMBCRYPTO - BOT
**
** Please consider buying me a coffee :)
** BCOIN: 0x318863E8f42F4471C1c3FEc59DF2Dd9447F39241
** PIX: 46fad16d-a076-4bd0-8b84-00c508332d75
*******************************************************************************
** Press CTRL + C to kill the bot.
** Some configs can be found in the https://github.com/benits/bully-frog-bombcrypto-bot
*******************************************************************************"""
print(Fore.GREEN + banner + Style.RESET_ALL)
application = Application()
log = Log()
multi_account = MultiAccount()
telegram = Telegram()
def main():
application.start()
telegram.start()
multi_account.start()
def onlyMap():
application.start()
telegram.start()
multi_account.startOnlyMapAction()
if __name__ == '__main__':
try:
print("PLATAFORMAAA" + sys.platform)
if 'only-map' in sys.argv:
onlyMap()
else:
main()
except KeyboardInterrupt:
log.console('Shutting down the bot',
services=True, emoji='😓', color='red')
telegram.stop()
exit()