Repetition quest def process_repetition self member mystr msg Повторяю

1
2
3
4
5
6
7
8
9
# Repetition quest
def process_repetition(self, member, mystr):
msg = u'Повторяю: ' + self.question[0] + u' ('
if len(quest_words) == 1:
msg += unicode(len(self.question[1]))+u' букв'+ self.get_ending(len(self.question[1]), 1)+')\n'
else:
msg += u', '.join(unicode(len(x)) for x in quest_words[:-1])
msg += u' и ' + unicode(len(quest_words[-1])) + u' букв)\n'
self.send_msg(msg)