Skip to content

Commit

Permalink
Revert last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Totodore authored May 14, 2023
1 parent b2ebae9 commit 7251b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from dotenv import load_dotenv
from telegram import Update, InlineKeyboardMarkup, InlineKeyboardButton, Bot
from telegram.ext import CommandHandler, MessageHandler, CallbackContext, filters, CallbackQueryHandler, Dispatcher, Updater
from telegram.ext import CommandHandler, MessageHandler, CallbackContext, Filters, CallbackQueryHandler, Dispatcher, Updater

load_dotenv()

Expand Down Expand Up @@ -113,7 +113,7 @@ def main():
dispatcher = updater.dispatcher

dispatcher.add_handler(CommandHandler("start", start))
dispatcher.add_handler(MessageHandler(filters.text & ~filters.command, handle_message))
dispatcher.add_handler(MessageHandler(Filters.text & ~Filters.command, handle_message))
dispatcher.add_handler(CallbackQueryHandler(handle_button_click))

updater.start_polling()
Expand Down

0 comments on commit 7251b02

Please sign in to comment.