Skip to content

Commit

Permalink
Update vaalilakanabot2023.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dagatho authored Oct 8, 2023
1 parent 628eadc commit 9cfa40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vaalilakanabot2023.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 @@ -584,7 +584,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 9cfa40d

Please sign in to comment.