Skip to content

Commit

Permalink
edit copy
Browse files Browse the repository at this point in the history
  • Loading branch information
ohld committed Jun 9, 2024
1 parent 398f94d commit b85842b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tgbot/handlers/upload/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,12 @@ async def handle_uploaded_meme_review_button(
await context.bot.send_message(
chat_id=meme_upload["user_id"],
reply_to_message_id=meme_upload["message_id"],
text=f"""
text="""
πŸŽ‰πŸŽ‰πŸŽ‰
Your <b>meme has been approved</b> and soon bot will send it to other users!
You can see your meme #{meme["id"]} stats on <a href="{LEADERBOARD_URL}">LEADERBOARD</a>
See realtime stats of your uploaded memes: /uploads
""",
parse_mode=ParseMode.HTML,
)
Expand Down
6 changes: 4 additions & 2 deletions src/tgbot/handlers/upload/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async def handle_uploaded_memes_stats(

uploaded_memes = await get_uploaded_memes_of_user_id(update.effective_user.id)
if len(uploaded_memes) == 0:
await update.message.reply(
await update.message.reply_text(
"""
πŸ“­ <b>You haven't uploaded any memes yet!</b>
Expand Down Expand Up @@ -60,7 +60,9 @@ async def handle_uploaded_memes_stats(

STATS_TEXT += f"\nβ–ͺ {views} - {likes} - {like_prc}%"

await update.message.reply(
STATS_TEXT += "\nupload more memes and win lots of πŸ” /kitchen"

await update.message.reply_text(
STATS_TEXT,
parse_mode=ParseMode.HTML,
)

0 comments on commit b85842b

Please sign in to comment.