Skip to content

Commit

Permalink
Merge pull request #80 from lusegomez/ticket-69
Browse files Browse the repository at this point in the history
ticket-69
  • Loading branch information
WinnaZ authored Oct 12, 2024
2 parents 8c134f6 + e577e71 commit 97d0f2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pycamp_bot/commands/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,13 @@ async def show_participants(update, context):
text="No se indico el nombre del proyecto. Modo de uso: '/participantes <NOMBRE_PROYECTO>'"
)
return
project_name = update.message.text.split()[1]
project_name = update.message.text.split()
project_name = ' '.join(project_name[1:])
project = Project.select().where(Project.name == project_name)
if not project:
await context.bot.send_message(
chat_id=update.message.chat_id,
text="No se encontro el proyecto."
text="No se encontro el proyecto. Consulte /proyectos"
)
return

Expand Down

0 comments on commit 97d0f2c

Please sign in to comment.