update
This commit is contained in:
parent
4170fb02e8
commit
8deed2e5f9
3 changed files with 13 additions and 3 deletions
4
card.py
4
card.py
|
@ -203,5 +203,7 @@ GREY_ID = {
|
||||||
'43161736970240681': 'y_9',
|
'43161736970240681': 'y_9',
|
||||||
'43161736970240683': 'y_draw',
|
'43161736970240683': 'y_draw',
|
||||||
'43161736970240687': 'y_skip',
|
'43161736970240687': 'y_skip',
|
||||||
'43161736970240685': 'y_reverse'
|
'43161736970240685': 'y_reverse',
|
||||||
|
'43161736970240609': 'draw_four',
|
||||||
|
'43161736970240607': 'colorchooser'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
api_id = 50322
|
api_id = 50322
|
||||||
api_hash = '9ff1a639196c0779c86dd661af8522ba'
|
api_hash = '9ff1a639196c0779c86dd661af8522ba'
|
||||||
PHONE = '+10000000000'
|
#PHONE = '+10000000000'
|
||||||
|
PHONE = lambda: input('Please enter your phone: ')
|
||||||
session_name = 'session'
|
session_name = 'session'
|
||||||
|
|
||||||
unobot_usernames = ['unobot', 'ffee1822_bot']
|
unobot_usernames = ['unobot', 'ffee1822_bot']
|
||||||
unobot_username = unobot_usernames[0]
|
unobot_username = unobot_usernames[-1]
|
||||||
# should be a int or None
|
# should be a int or None
|
||||||
default_delay = None
|
default_delay = None
|
||||||
# print all of the bot's cards
|
# print all of the bot's cards
|
||||||
|
|
7
run_bot_windows.py
Normal file
7
run_bot_windows.py
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import traceback, sys, pathlib, telethon, telethon.sync
|
||||||
|
sys.argv[0]='bot.py'
|
||||||
|
try:
|
||||||
|
exec(pathlib.Path("bot.py").read_text())
|
||||||
|
except:
|
||||||
|
traceback.print_exc()
|
||||||
|
input("Press Enter to exit.")
|
Loading…
Reference in a new issue