add proxy
This commit is contained in:
parent
b60eb29035
commit
d58e0f274f
@ -6,10 +6,15 @@ from telebot.types import InlineKeyboardMarkup, InlineKeyboardButton
|
||||
#import logging
|
||||
|
||||
SHOW_BTN = False
|
||||
PROXY = False
|
||||
|
||||
#logger = telebot.logger
|
||||
#telebot.logger.setLevel(logging.DEBUG)
|
||||
|
||||
if PROXY:
|
||||
from telebot import apihelper
|
||||
apihelper.proxy = {'https': 'socks5h://user:pass@ip'}
|
||||
|
||||
BOT_TOKEN=''
|
||||
DESTINATION=sys.argv[1]
|
||||
SUBJECT=sys.argv[2]
|
||||
|
Loading…
Reference in New Issue
Block a user