{"id":23255741,"url":"https://github.com/aorosoeon/mood_check_bot","last_synced_at":"2025-04-06T03:44:40.790Z","repository":{"id":229502322,"uuid":"490873316","full_name":"aorosoeon/mood_check_bot","owner":"aorosoeon","description":"Another chatbot for Telegram, which checks your mood a couple of times per day (by sending a message to you) and in case of difficult emotions gives you a list of coping strategies to replace negative patterns. Also, it is available whenever needed, so you can record your mood anytime and get help from it.","archived":false,"fork":false,"pushed_at":"2024-08-06T01:00:18.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T10:17:25.588Z","etag":null,"topics":["bot","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aorosoeon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-10T22:02:06.000Z","updated_at":"2024-08-06T01:00:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4fe59ca-f9aa-4b37-88de-6638b9e505c5","html_url":"https://github.com/aorosoeon/mood_check_bot","commit_stats":null,"previous_names":["aorosoeon/mood_check_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorosoeon%2Fmood_check_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorosoeon%2Fmood_check_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorosoeon%2Fmood_check_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aorosoeon%2Fmood_check_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aorosoeon","download_url":"https://codeload.github.com/aorosoeon/mood_check_bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430836,"owners_count":20937873,"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":["bot","telegram","telegram-bot"],"created_at":"2024-12-19T11:30:48.067Z","updated_at":"2025-04-06T03:44:40.769Z","avatar_url":"https://github.com/aorosoeon.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mood_check_bot\nChatbot for Telegram, which checks your mood a couple of times per day (by sending a message to you) and in case of difficult emotions gives you a list of coping strategies to replace negative patterns. Also, it is available whenever needed, so you can record your mood anytime and get help from it.\n\nI used:\n1. AsyncTelebot and a couple of other classes from pyTelegramBotAPI package for connecting to Telegram API\n2. wraps from functools for creating private access mode (the idea is not mine, I used code from stackoverflow user \"S.D.\" (https://stackoverflow.com/questions/55437732/how-to-restrict-the-acess-to-a-few-users-in-pytelegrambotapi/68229442#68229442)\n3. aioschedule for creating a timer\n4. asyncio for gathering two tasks - bot.infinity_polling and scheduler\n\nInitially, I planned to build synchronous code, but there was a need to combine two continuous tasks. The first one is checking whether users send something to the bot and the second one is running jobs that are scheduled. So, I chose to make this script asynchronous.\n\nI run this program from VM in Google Cloud using \"nohup\" command for continuous work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faorosoeon%2Fmood_check_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faorosoeon%2Fmood_check_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faorosoeon%2Fmood_check_bot/lists"}