{"repo":"fr0staman/fr0staman_bot","free":true,"listed":false,"github":"https://github.com/fr0staman/fr0staman_bot","clone":"git clone https://github.com/fr0staman/fr0staman_bot.git","description":"Telegram bot with pigs 🐽🐷🐖","language":"Rust","stars":43,"topics":["rust","telegram","telegram-bot"],"license":null,"category":"chat-messaging","readme_excerpt":"fr0staman bot Multifunctional funny Telegram bot with pigs 🐷 User manual: - 🇺🇦 Ukrainian - English - russian Overview ❗️ This repository is rather not an example for beginners, as it combines several technologies, which can complicate the initial learning path. @fr0staman bot is a multifunctional game-like bot written in Rust, using teloxide. Bot uses much from Telegram Bot API and solves many (non) classic tasks, so in the code you can see: - Multilingualism (with user or chat settings!) - Message/Inline/Callback/Chosen filter and handling - Optional new/left user reaction - Handling chat migration from chat to supergroup - Other Telegram events (video chat, chat migration) - Telegram channel subscription check - Receive from user, moderating gif and voice bot inline content - Storing and updating basic information about users and chats - Decode inline message id and join inline chats with supergroups - Callback chained locking per user - Increase voice message volume with libopus - Quite detailed logging - Sending bot errors directly to Telegram log group - Metrics with Prometheus Deployment 1. Install diesel cli ( --no-default-features --features=postgres ) 2. Install and create postgres database 3. Copy and fill .env from .env.example 4. Setup diesel migrations by diesel migration run 5. Build and start bot ( cargo build --release && target/release/fr0staman bot , cargo run --release ) 6. Enjoy 🐽 Testing Runs the pure unit tests — game formulas, achievement rules, due","default_branch":null,"files":null,"tree":[],"storefront":"/r/fr0staman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fr0staman/fr0staman_bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}