{"id":23179588,"url":"https://github.com/yeetooq/pivaldi_telegram_bot","last_synced_at":"2025-04-05T02:17:56.354Z","repository":{"id":262163960,"uuid":"886415999","full_name":"Yeetooq/Pivaldi_Telegram_Bot","owner":"Yeetooq","description":"An unofficial bot for the Pivaldi restaurant that provides easy access to the menu, order placement, and current promotions. Plus, enjoy entertainment features like games, cryptocurrency rates, jokes, weather updates, and more!","archived":false,"fork":false,"pushed_at":"2024-11-11T22:33:29.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T10:35:30.005Z","etag":null,"topics":["aiocache","aiogram","aiohttp","aiosqlite","beautifulsoup4","geopy","numpy","requests","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://t.me/pivaldi1_bot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yeetooq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-10T23:28:06.000Z","updated_at":"2024-11-11T22:33:33.000Z","dependencies_parsed_at":"2024-11-10T23:31:22.308Z","dependency_job_id":"46eda38f-329f-40dc-bbc2-47bb7b4b88ea","html_url":"https://github.com/Yeetooq/Pivaldi_Telegram_Bot","commit_stats":null,"previous_names":["yeetooq/pivaldi_telegram_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeetooq%2FPivaldi_Telegram_Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeetooq%2FPivaldi_Telegram_Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeetooq%2FPivaldi_Telegram_Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yeetooq%2FPivaldi_Telegram_Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yeetooq","download_url":"https://codeload.github.com/Yeetooq/Pivaldi_Telegram_Bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276186,"owners_count":20912288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aiocache","aiogram","aiohttp","aiosqlite","beautifulsoup4","geopy","numpy","requests","sqlalchemy"],"created_at":"2024-12-18T07:15:23.163Z","updated_at":"2025-04-05T02:17:56.347Z","avatar_url":"https://github.com/Yeetooq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pivaldi Telegram Bot \u003cimg src=\"https://media1.tenor.com/m/ookEdv-7MlcAAAAd/barry-barry-63.gif\" width=\"40\" height=\"40\"\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/80ac20fa-f3d7-4feb-80ac-c1c36bd9f810\" width=\"200\" height=\"200\"\u003e\n\u003c/div\u003e\n\n## A brief background 📝\n\nInitially, the project was conceived as a chat-bot for the [Pivaldi restaurant](https://pivaldi.ru/), since my groupmates and I really like to go there after couples and in our free time 🍻. Since the restaurant is actively growing and developing 📈, and the existing bot of the restaurant is frankly bad 😅, I thought I would make a good bot and contact them for further cooperation. \n\nThe bot was made for a couple of months ⏳,and along the way I tested every little thing for an element of vulnerability. Then I tried many times to contact the managers of the restaurant , with their other departments 📞, but all attempts were in vain 😕. \n\nAs a result, I didn't come up with anything better than just making a bot - a combined solyanka from all the interesting ideas that just come to mind 💡😄))) And how to put the project on github.\n\n\n## Installation instructions 🛠️\n\n```\n# Clone the repo\ngit clone https://github.com/Yeetooq/Pivaldi_Telegram_Bot.git\n\n# Enter the project folder\ncd Pivaldi_Telegram_Bot\n\n# Install dependencies\npip install -r requirements.txt\n```\n\n---\n\nNext, in the ``` config.py ``` we change the values to our own⬇️ \n\n\u003cimg src=\"https://github.com/user-attachments/assets/f618e8cf-8548-4971-878f-0db42842b1cc\" width=\"456\" height=\"124\"\u003e\n\n---\n\n* In the file handlers.py we change the ``` chat_id ``` to our own \n\n\u003cimg src=\"https://github.com/user-attachments/assets/a0b3aae9-9339-4a92-83f6-dcb93ba2b271\" width=\"353\" height=\"48\"\u003e\n\n---\n\n* Insert your ``` provider_token ```\n\n\u003cimg src=\"https://github.com/user-attachments/assets/c996273d-f7d2-4893-be82-c8cd732efcb0\" width=\"344\" height=\"116\"\u003e\n\n---\n\n**Launching the bot 🚀**\n\n```\npython main.py\n```\n## Description of functions 🔧\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/e2105e2f-59e0-426e-8646-6a51cd4d9c6f\" width=\"428\" height=\"640\"\u003e\n\u003c/div\u003e\n\n**Сommands:**\n\n- ```/start``` \n  \n  Launches the bot, writes the user to the database, and also issues a button with a transition to booking a place in the restaurant.\n\n- ```/registration``` \n   \n  Registers a user in the bot, can be used to access functions, but for me it's just an additional entry in the database and that's it.\n\n- ```/catalog``` \n  \n  Sends the menu of the restaurant.\n\n- ```/pay``` \n  \n  Allows the user to pay for their order (currently a test one).\n\n- ```/weather```  \n  \n  Provides information about the current weather in the places where the restaurant is open, so that the visitor can find out about precipitation in advance and exclude unforeseen circumstances.\n\n- ```/help```  \n  \n  Communication with the developer on technical issues related to the work of the bot.\n\n- ```/help_pro```  \n  \n  Communication with the restaurant on service issues related to the restaurant or service.\n\n- ```/website```  \n  \n  Redirects the user to the official Pivaldi website.\n\n- ```/game``` \n  \n  Starts a game where the user has to guess the number in one attempt.\n\n- ```/statistics```  \n  \n  I have provided a Win Rate system in the bot to make it more interesting to play and see your luck. Shows the statistics of the user's games in the game \"Guess the number from 1 time\".\n\n- ```/anekdot```  \n  \n  Sends a random joke to the user.\n\n- ```/secret```\n  \n  My experience in the field of crypts, I just tested the codes of people from Tiktok, YouTube, etc. I also thought of interesting functions on my own.\n\n## Database 🛢\n\nFor the project, I used the SQLite 3 database, as it is best suited for a small amount of data. The database is created automatically when the code is first run. The most convenient way to manage a database is to use SQLiteStudio.\n\n![image](https://github.com/user-attachments/assets/1e5dabd9-9ad2-4f2b-8ebf-6aaaaf55dd96)\n\n\n## + vibe✌︎︎✌︎︎\n\n![image](https://github.com/user-attachments/assets/310d1ec0-beab-4aa8-acf0-2f1fddad8ab0)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeetooq%2Fpivaldi_telegram_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeetooq%2Fpivaldi_telegram_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeetooq%2Fpivaldi_telegram_bot/lists"}