Skip to content

Commit

Permalink
Update vaalilakanabot2022.py
Browse files Browse the repository at this point in the history
korjattu filters pieneksi
  • Loading branch information
dagatho authored Sep 18, 2023
1 parent 7f97629 commit 701f65a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vaalilakanabot2022.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup
from telegram.ext import Updater, MessageHandler, CommandHandler, \
Filters, ConversationHandler, CallbackContext, CallbackQueryHandler
filters, ConversationHandler, CallbackContext, CallbackQueryHandler

TOKEN = os.environ['VAALILAKANABOT_TOKEN']
ADMIN_CHAT_ID = os.environ['ADMIN_CHAT_ID']
Expand Down Expand Up @@ -573,7 +573,7 @@ def main():
SELECTING_POSITION: [
CallbackQueryHandler(register_position)
],
TYPING_NAME: [MessageHandler(Filters.text & (~Filters.command), enter_applicant_name)],
TYPING_NAME: [MessageHandler(filters.text & (~filters.command), enter_applicant_name)],
},
fallbacks=[CommandHandler('cancel', cancel), CommandHandler('lisaa', add_applicant)],
)
Expand Down

0 comments on commit 701f65a

Please sign in to comment.