Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7c43db0867 | ||
|
|
f6093ec01e |
@@ -592,8 +592,8 @@ class FlanaBot(MultiBot, ABC):
|
||||
place_words.insert(0, 'calle')
|
||||
place_query = ' '.join(place_words)
|
||||
if len(place_query) >= constants.MAX_PLACE_QUERY_LENGTH:
|
||||
if not message.is_inline:
|
||||
await self.send_error(Media('resources/mucho_texto.png'), message)
|
||||
if not show_progress_state:
|
||||
await self.send_error(Media(str(flanautils.resolve_path('resources/mucho_texto.png'))), message, send_as_file=False)
|
||||
return
|
||||
if show_progress_state:
|
||||
bot_state_message = await self.send(f'Buscando "{place_query}" en el mapa 🧐...', message)
|
||||
|
||||
Reference in New Issue
Block a user