This commit is contained in:
JerryXiao 2023-04-11 14:40:52 +08:00
parent 4170fb02e8
commit 8deed2e5f9
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5
3 changed files with 13 additions and 3 deletions

View file

@ -203,5 +203,7 @@ GREY_ID = {
'43161736970240681': 'y_9',
'43161736970240683': 'y_draw',
'43161736970240687': 'y_skip',
'43161736970240685': 'y_reverse'
'43161736970240685': 'y_reverse',
'43161736970240609': 'draw_four',
'43161736970240607': 'colorchooser'
}

View file

@ -1,10 +1,11 @@
api_id = 50322
api_hash = '9ff1a639196c0779c86dd661af8522ba'
PHONE = '+10000000000'
#PHONE = '+10000000000'
PHONE = lambda: input('Please enter your phone: ')
session_name = 'session'
unobot_usernames = ['unobot', 'ffee1822_bot']
unobot_username = unobot_usernames[0]
unobot_username = unobot_usernames[-1]
# should be a int or None
default_delay = None
# print all of the bot's cards

7
run_bot_windows.py Normal file
View 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.")