| elif not diff[-1:].isalpha(): | elif not diff[-1:].isalpha(): | ||||
| other.append(name) | other.append(name) | ||||
| if not results: | |||||
| update.message.reply_text('This section doesn\'t exist, my master!', quote=False) | |||||
| return | |||||
| text = '\n'.join(['<b>{}</b> {}'.format(name, crData['sections'][name][lang]) for name in results]) | text = '\n'.join(['<b>{}</b> {}'.format(name, crData['sections'][name][lang]) for name in results]) | ||||
| if other: | if other: | ||||
| text += '\n<i>(Subsections: {}-{})</i>'.format(other[0], other[-1]) | text += '\n<i>(Subsections: {}-{})</i>'.format(other[0], other[-1]) |