{"id":20774989,"url":"https://github.com/qdot/np-telegram-bot","last_synced_at":"2026-04-24T19:33:45.825Z","repository":{"id":66557612,"uuid":"60234803","full_name":"qdot/np-telegram-bot","owner":"qdot","description":"Base code for NP Labs Telegram bots","archived":false,"fork":false,"pushed_at":"2016-06-23T07:10:43.000Z","size":89,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T21:27:18.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qdot.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":"2016-06-02T05:21:47.000Z","updated_at":"2023-09-08T17:11:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7654dfec-1992-4980-9af2-cc5cee4df3c3","html_url":"https://github.com/qdot/np-telegram-bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/qdot/np-telegram-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdot%2Fnp-telegram-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdot%2Fnp-telegram-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdot%2Fnp-telegram-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdot%2Fnp-telegram-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qdot","download_url":"https://codeload.github.com/qdot/np-telegram-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qdot%2Fnp-telegram-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-17T12:34:06.374Z","updated_at":"2026-04-24T19:33:45.796Z","avatar_url":"https://github.com/qdot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NP Telegram Bot\n\nNP Telegram Bot is a simple code base for building bots with a few\npredefined features on top of the\n[python-telegram-bot](http://github.com/python-telegram-bot/python-telegram-bot)\nAPI.\n\nNP Telegram Bot offers the following modules on top of python-telegram-bot:\n\n- User tracking with flags - Allows developers to create different\n  user privileges for accessing bot actions and features.\n- Group Tracking - Keeps a list of what groups the bot is in (how does\n  telegram not have this as a feature yet?!), allows bot\n  administrators to broadcast messages into all groups bot is\n  currently a member of.\n- Conversation Tracking - Uses python generators to make holding\n  asynchronous conversations with users simple and painless.\n\n# Why use this versus python-telegram-bot alone?\n\nNP Telegram Bot was influenced heavily by the developers decades on\nIRC, using eggdrop/grufti/supybot/etc. Whether this is good or bad is\nanyone's guess, since Telegram definitely is not IRC.\n\nAnyways, if you're just planning to make a simple inline bot that will\naccess a web API and return results, then using this is overkill. Just\ngo with python-telegram-bot.\n\nHowever, for anyone that wants to host a IRC style bot that will\nremember users, take input, have conversations, and maintain state\nbetween sessions, NP Telegram Bot provides some handy tools for\ngetting up and running quickly.\n\n# Requirements\n\nRequirements for NP Telegram Bot are:\n\n- Python 3 (tested on 3.5, but should work on 3.3+, and maybe even earlier)\n- Redis backing store (Though could easily be swapped out with something else)\n\n# Bots using NP Telegram Bot\n\n- [Mowcounter](http://github.com/qdot/mowcounter-telegram-bot) -\n  Simple chat focused bot that counts phrase usage among users and\n  keeps a high score table.\n\n# License\n\nBSD 3-Clause License, see [LICENSE](LICENSE) file for more info.\n\nCopyright (c) 2016, Kyle Machulis/qDot\nAll rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdot%2Fnp-telegram-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqdot%2Fnp-telegram-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqdot%2Fnp-telegram-bot/lists"}