Skip to content

Commit

Permalink
fix - youtube button message
Browse files Browse the repository at this point in the history
  • Loading branch information
jjpaulo2 committed Oct 5, 2024
1 parent 62c04fc commit 6336510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function/telegram/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _body(self) -> str:
elif not text.strip():
if self.message.external_videos:
return "Assista o vídeo clicando no botão abaixo."
elif self.message.videos:
elif self.message.youtube:
return "Assista o vídeo no YouTube clicando no botão abaixo."
elif self.message.instagram:
return "Veja a publicação no Instagram clicando no botão abaixo."
Expand Down

0 comments on commit 6336510

Please sign in to comment.