Pārlūkot izejas kodu

fix subentries in cards ('berserk')

master
Alexey Chernyshov pirms 5 gadiem
vecāks
revīzija
5b8539f1cd
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3
    0
      src/magic-judge-telegram-bot.py

+ 3
- 0
src/magic-judge-telegram-bot.py Parādīt failu

@@ -75,6 +75,9 @@ def oracle_command(bot, update, args):
quote=False)
return

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

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

Notiek ielāde…
Atcelt
Saglabāt