baha-99 commited on
Commit
10e8e80
·
1 Parent(s): 59e23b7

feat: the number of questions will be updated automatically from env variables

Browse files
Files changed (1) hide show
  1. bot_telegram.py +2 -2
bot_telegram.py CHANGED
@@ -99,7 +99,7 @@ class TelegramBot:
99
  "You can :\n"
100
  "1. Send me any question as text\n"
101
  "2. Send me an Excel file with questions (must have a 'question' column in 'rfp' sheet)\n\n"
102
- "Note: Excel files must contain no more than 200 questions.\n\n"
103
  "type '/status' to check the status of the request"
104
  )
105
  else:
@@ -138,7 +138,7 @@ class TelegramBot:
138
  "You can:\n"
139
  "1. Send me any question as text\n"
140
  "2. Send me an Excel file with questions (must have a 'question' column in 'rfp' sheet)\n\n"
141
- "Note: Excel files must contain no more than 200 questions."
142
  )
143
  else:
144
  await update.message.reply_text("❌ Wrong password. Try again.")
 
99
  "You can :\n"
100
  "1. Send me any question as text\n"
101
  "2. Send me an Excel file with questions (must have a 'question' column in 'rfp' sheet)\n\n"
102
+ "Note: Excel files must contain no more than {FILE_RFP_EXCEL_COUNT} questions.\n\n"
103
  "type '/status' to check the status of the request"
104
  )
105
  else:
 
138
  "You can:\n"
139
  "1. Send me any question as text\n"
140
  "2. Send me an Excel file with questions (must have a 'question' column in 'rfp' sheet)\n\n"
141
+ "Note: Excel files must contain no more than {FILE_RFP_EXCEL_COUNT} questions."
142
  )
143
  else:
144
  await update.message.reply_text("❌ Wrong password. Try again.")