Skip to content

Commit

Permalink
updated privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Aug 15, 2024
1 parent a869929 commit bb40c3d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,16 @@ async def privacy(message: types.Message):
importlib.resources.path("app.infrastructure.assets", "privacy.txt") as path,
path.open("r") as f,
):
await message.reply(f.read())
await message.reply(
f"our privacy is something like https://telegram.org/privacy-tpa\n"
f"But this bot is only for Russian-speaking people, "
f"so detailed privacy is in Russian:\n"
f"{f.read()}"
)


@router.message(Command("about", prefix="!"))
@router.message(Command("about", prefix="!/"))
@router.message(Command("developer_info", prefix="!/"))
async def cmd_about(message: types.Message):
logger.info("User {user} about", user=message.from_user.id)
repo_url = "https://github.com/bomzheg/KarmaBot"
Expand Down

0 comments on commit bb40c3d

Please sign in to comment.