删除无用代码
This commit is contained in:
@@ -13,7 +13,6 @@ import logging
|
||||
import sys
|
||||
import time
|
||||
import telebot
|
||||
from telebot import apihelper
|
||||
import requests
|
||||
import json
|
||||
import html2text
|
||||
@@ -112,7 +111,6 @@ else:
|
||||
# Telegram
|
||||
# parse mode can be either HTML or MARKDOWN
|
||||
bot = telebot.TeleBot(telegram_token, parse_mode="MARKDOWN", )
|
||||
#apihelper.proxy = {'http':'http://127.0.0.1:2080'}
|
||||
|
||||
|
||||
'''
|
||||
@@ -300,4 +298,4 @@ except:
|
||||
logging.error("Something went wrong.")
|
||||
bot.polling(interval=5)
|
||||
finally:
|
||||
print("\nBye!")
|
||||
print("\nBye!")
|
||||
|
||||
Reference in New Issue
Block a user