{"id":28541686,"url":"https://github.com/sudor2spr/quiz-polls-bot","last_synced_at":"2026-01-20T16:23:34.770Z","repository":{"id":296537414,"uuid":"993722706","full_name":"SudoR2spr/Quiz-polls-Bot","owner":"SudoR2spr","description":"Advanced Poll Bot!  Create professional polls in any language with flexible formatting. 🎉 v1.0","archived":false,"fork":false,"pushed_at":"2025-06-01T06:07:32.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-21T05:14:17.483Z","etag":null,"topics":["angel","javascript","multiple-quiz-bot","node-js","opleech","poll","quiz-bot","sudor2spr","telegram-poll-bot","woodcraft"],"latest_commit_sha":null,"homepage":"https://t.me/Opleech_WD","language":"JavaScript","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/SudoR2spr.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,"zenodo":null}},"created_at":"2025-05-31T11:34:20.000Z","updated_at":"2025-06-10T14:46:39.000Z","dependencies_parsed_at":"2025-05-31T23:46:20.068Z","dependency_job_id":"74fe5576-c13a-46f8-9118-d2acfb82506c","html_url":"https://github.com/SudoR2spr/Quiz-polls-Bot","commit_stats":null,"previous_names":["sudor2spr/quiz-polls-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SudoR2spr/Quiz-polls-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FQuiz-polls-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FQuiz-polls-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FQuiz-polls-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FQuiz-polls-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SudoR2spr","download_url":"https://codeload.github.com/SudoR2spr/Quiz-polls-Bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SudoR2spr%2FQuiz-polls-Bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006109,"owners_count":26084026,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angel","javascript","multiple-quiz-bot","node-js","opleech","poll","quiz-bot","sudor2spr","telegram-poll-bot","woodcraft"],"created_at":"2025-06-09T20:09:35.292Z","updated_at":"2025-10-11T03:53:42.254Z","avatar_url":"https://github.com/SudoR2spr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/SudoR2spr/SudoR2spr/raw/main/assets/line-neon.gif\" width=\"100%\"\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://graph.org/file/4e8a1172e8ba4b7a0bdfa.jpg\" width=\"300px\" height=\"300px\" /\u003e\n\u003c/div\u003e\n\n\u003cimg src=\"https://github.com/SudoR2spr/SudoR2spr/raw/main/assets/line-neon.gif\" width=\"100%\"\u003e\n\n[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026pause=1000\u0026color=4250F7\u0026background=FF512800\u0026center=true\u0026vCenter=true\u0026width=435\u0026lines=%F0%9D%90%96%F0%9D%90%8E%F0%9D%90%8E%F0%9D%90%83%F0%9D%90%9C%F0%9D%90%AB%F0%9D%90%9A%F0%9D%90%9F%F0%9D%90%AD+%F0%9D%90%8C%F0%9D%90%A2%F0%9D%90%AB%F0%9D%90%AB%F0%9D%90%A8%F0%9D%90%AB+%F0%9D%90%99%F0%9D%90%A8%F0%9D%90%A7%F0%9D%90%9E%E2%84%A2)](https://git.io/typing-svg)\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\n\u003ch1 align=\"center\"\u003e\n    \u003cimg src=\"https://readme-typing-svg.herokuapp.com/?font=Righteous\u0026size=35\u0026center=true\u0026vCenter=true\u0026width=500\u0026height=70\u0026duration=4000\u0026lines=Hi+There!+👋;+I'm+SudoR2spr!;\" /\u003e\n\u003c/h1\u003e\n\u003cbr\u003e\n\n---\n## 🗳️ Advanced Telegram Poll Bot\n\nA powerful and multilingual Telegram bot to create professional-looking polls with various formats — including **basic polls**, **quiz polls**, and **multi-format polls**. Built using **Telegraf.js**, this bot supports persistent buttons, inline help, image replies, and rate limiting.\n\n---\n\n## 📌 Features\n\n- 🎯 Basic, Quiz, and Multi-format Polls  \n- 🌐 Language-ready format (currently English, extensible)  \n- 🧠 Rate-limiting to avoid spam  \n- 📸 Welcome Image with Inline Buttons  \n- 🔄 Smart Message Editing for Help/Back buttons  \n- 🧩 Modular and easy-to-extend structure  \n\n---\n## 🚀 Deploy\n\n[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/SudoR2spr/Quiz-polls-Bot)\n\n[![Deploy to Render](https://render.com/images/deploy-to-render-button.svg)](https://render.com/deploy?repo=https://github.com/SudoR2spr/Quiz-polls-Bot)\n\n## 🚀 Deployment\n\n### 🧱 Prerequisites\n\n- Node.js (v18 or above)  \n- Telegram Bot Token from [BotFather](https://t.me/BotFather)\n\n---\n\n### 📦 Installation\n\n```bash\ngit clone https://github.com/SudoR2spr/Quiz-polls-Bot.git\ncd Quiz-polls-Bot\nnpm install\n```\n\n---\n\n### 🔧 Environment Variables\n\nCreate a `.env` file in the root directory with the following:\n\n```env\nBOT_TOKEN=your_bot_token_here\nBASE_URL=https://your-app-url.com\nPORT=3000\n```\n\n---\n\n## 🏃‍♂️ Run the Bot\n\n```bash\nnpm start\n```\n\nThe bot will start and respond to the following commands:\n\n---\n\n## 🛠 Available Commands\n\n| Command      | Description                                |\n|--------------|--------------------------------------------|\n| /start       | Sends welcome image and buttons            |\n| /help        | Shows poll creation guide                  |\n| /poll        | Basic poll: `/poll \"Question\"`             |\n| /pollquiz    | Quiz poll with explanation                 |\n| /pollmult    | Advanced format: options in A/B/C form     |\n| /future      | (Planned) Show upcoming features           |\n\n---\n\n## 🖼 Welcome Image \u0026 Buttons\n\nThe `/start` command sends an image with:\n\n- ✅ Inline button: Help  \n- 🔗 External button: Join Channel  \n\nIf message editing fails, the bot deletes the previous message and sends a new one.\n\n---\n\n## 📖 Example Usage\n\n### Multi-format Poll:\n\n```\n/pollmult Which country has the largest Bengali-speaking population?\na) India\nb) Bangladesh ✅\nc) Pakistan\nBased on 2023 language census data\n```\n\n### Quiz Poll:\n\n```\n/pollquiz What is the capital of France?\nParis ✅ | Berlin | Madrid\nCorrect answer is Paris.\n```\n\n---\n\n## 🔒 Rate Limiting\n\nTo avoid abuse, each user can trigger a command once every **3 seconds**.  \nIf exceeded, the bot replies:\n\n\u003e ❌ দয়া করে একটু অপেক্ষা করুন! খুব দ্রুত কমান্ড পাঠাচ্ছেন।\n\n---\n\n## 💡 Planned Features\n\n- 🔄 Multi-language UI  \n- 🕑 Scheduled Polls  \n- 📊 Poll Analytics Dashboard  \n- 📄 Poll Templates  \n\n---\n\n## 📜 License\n\nMIT License © [SudoR2spr]  \nSee the [LICENSE](./LICENSE) file for more info.\n\n\n# Connect with me \u003cimg src=\"https://media.giphy.com/media/iY8CRBdQXODJSCERIr/giphy.gif\" width=\"30px\"\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://t.me/Opleech_WD\"\u003e\u003cimg src=\"https://img.shields.io/badge/-𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭 𝐌𝐢𝐫𝐫𝐨𝐫 𝐙𝐨𝐧𝐞™%20%20-0077B5?style=flat\u0026logo=Telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://t.me/WD_Topic_Group\"\u003e\u003cimg src=\"https://img.shields.io/badge/-Wᴅ Tᴏᴘɪᴄ Gʀᴏᴜᴘ%20%20-0077B5?style=flat\u0026logo=Telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://t.me/WD_Request_Bot\"\u003e\u003cimg src=\"https://img.shields.io/badge/-𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭,𝐬 𝐁𝐨𝐭%20%20-0077B5?style=flat\u0026logo=Telegram\u0026logoColor=white\"/\u003e\u003c/a\u003e\n \u003cbr\u003e\n\u003ca href=\"https://t.me/Opleech\"\u003e\u003cimg title=\"Telegram\" src=\"https://img.shields.io/static/v1?label=WD.Zone\u0026message=TG\u0026color=blue-green\"\u003e\u003c/a\u003e \n \u003cbr\u003e\n\u003cimg src=\"https://media.giphy.com/media/jpVnC65DmYeyRL4LHS/giphy.gif\" width=\"20%\"\u003e \n\u003c/p\u003e\n \n-----\n♥️ Credits: [𝐖𝐎𝐎𝐃𝐜𝐫𝐚𝐟𝐭](https://t.me/Farooq_is_KING)\n\n[![Contact Me On Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://t.me/Farooq_is_king)\n\n\u003chr\u003e\n\u003ch3\u003e\u003cimg src=\"https://raw.githubusercontent.com/SudoR2spr/SudoR2spr/main/Premium-icon/clock-time.gif\" align=\"center\" width=\"50\"\u003e Last Updated: Sat,May,31,2025\u003c/h3\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudor2spr%2Fquiz-polls-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudor2spr%2Fquiz-polls-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudor2spr%2Fquiz-polls-bot/lists"}