Removed legacy code (markdown v1) (#771)

This commit is contained in:
abdullaev388 2021-12-09 04:52:54 +05:00 committed by GitHub
parent 910e4d7784
commit 2ece1ba140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ API_TOKEN = 'BOT TOKEN HERE'
logging.basicConfig(level=logging.INFO)
bot = Bot(token=API_TOKEN, parse_mode=types.ParseMode.MARKDOWN)
bot = Bot(token=API_TOKEN, parse_mode=types.ParseMode.MARKDOWN_V2)
dp = Dispatcher(bot)