Browse Source

fix subentries in cards ('berserk')

master
Alexey Chernyshov 5 years ago
parent
commit
5b8539f1cd
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/magic-judge-telegram-bot.py

+ 3
- 0
src/magic-judge-telegram-bot.py View File

quote=False) quote=False)
return return


if len(words) == 1 and words[0] in [n.casefold() for n in nameCandidates]:
nameCandidates = [words[0].casefold()]

if len(nameCandidates) > 20: if len(nameCandidates) > 20:
update.message.reply_text( update.message.reply_text(
'I need more specific clues, my master! This would return {} names'.format( 'I need more specific clues, my master! This would return {} names'.format(

Loading…
Cancel
Save