Skip to content

Commit

Permalink
πŸ”§ chore(dependencies): update dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
πŸ”¨ refactor(event): remove unused AnimeIDF and related code

πŸš€ feat(controller): add new message handlers for various commands

♻️ refactor(controller): simplify tagger function and markdown replies
  • Loading branch information
sudoskys committed Dec 25, 2024
1 parent d1080ea commit a87272b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ async def reply_markdown(
text: str,
reply_to_message_id: int = None,
):
blocks = await telegramify_markdown.telegramify(text)
blocks = await telegramify_markdown.telegramify(
text,
max_word_count=2000,
)
for item in blocks:
if item.content_type == ContentTypes.TEXT:
await bot.send_message(
Expand Down

0 comments on commit a87272b

Please sign in to comment.