{"id":24062653,"url":"https://github.com/udaysinh-git/socrative-attendance","last_synced_at":"2026-04-10T15:04:24.499Z","repository":{"id":222962691,"uuid":"758416903","full_name":"udaysinh-git/Socrative-Attendance","owner":"udaysinh-git","description":"Socrative Discord Bot named Chotu , made to automate attendance on socrative","archived":false,"fork":false,"pushed_at":"2024-02-17T09:54:19.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T16:42:07.549Z","etag":null,"topics":["automation","discord","mongo","nextcord","openai","python","selenium","socrative"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/udaysinh-git.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}},"created_at":"2024-02-16T09:22:32.000Z","updated_at":"2024-02-17T09:48:54.000Z","dependencies_parsed_at":"2024-02-17T10:27:34.223Z","dependency_job_id":null,"html_url":"https://github.com/udaysinh-git/Socrative-Attendance","commit_stats":null,"previous_names":["udaysinh-git/socrative-attendance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/udaysinh-git/Socrative-Attendance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FSocrative-Attendance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FSocrative-Attendance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FSocrative-Attendance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FSocrative-Attendance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/udaysinh-git","download_url":"https://codeload.github.com/udaysinh-git/Socrative-Attendance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/udaysinh-git%2FSocrative-Attendance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265898355,"owners_count":23845777,"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":["automation","discord","mongo","nextcord","openai","python","selenium","socrative"],"created_at":"2025-01-09T08:57:55.078Z","updated_at":"2025-12-30T22:07:10.409Z","avatar_url":"https://github.com/udaysinh-git.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chotu Bot\n\nChotu is a Discord bot built with Nextcord and MongoDB. It has features like scheduling tasks, marking attendance, and handling messages in specific channels for Socrative Website.\n\n## Prerequisites\n\nBefore you begin, ensure you have met the following requirements:\n\n* You have installed the latest version of Python.\n* You have a Windows/Linux/Mac machine.\n* You have read the [Nextcord documentation](https://nextcord.readthedocs.io/en/latest/).\n* You have a MongoDB Atlas account.\n* You have a Discord bot token. You can follow this [guide](https://discordpy.readthedocs.io/en/stable/discord.html) to get one.\n* You have an OpenAI API token. You can follow this [guide](https://www.howtogeek.com/885918/how-to-get-an-openai-api-key/) to get one.\n\n\n## Installing Chotu Bot\n\nTo install Chotu, follow these steps:\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/udaysinh-git/Socrative-Attendance.git\n```\n2. Change into the directory:\n```bash\ncd Socrative-Attendance\n```\n3. Install the requirements:\n```bash\npip install -r requirements.txt\n```\n\n## Using Chotu Bot\n\nTo use Chotu, you need to set up a few\n\n environment\n\n variables:\n\n* `DISCORD_TOKEN`: Your Discord bot token.\n* `MONGO_URI`: Your MongoDB connection string.\n* `ATTENDANCE_CHANNEL`: The ID of the channel for marking attendance.\n* `ATTENDANCE_REMOVAL_CHANNEL`: The ID of the channel for removing attendance.\n* `ANNOUNCEMENT_CHANNEL`: The ID of the channel for announcements.\n\nYou can set these in a `.env` file in the root of your project:\n\n```env\nDISCORD_TOKEN=MTxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxx \nMONGO_URI=mongodb+srv://{username}:{Password}@xxxxx-xxxxxx.mongodb.net/admin\nATTENDANCE_CHANNEL=channel_id // where people will message for attendance\nATTENDANCE_REMOVAL_CHANNEL=channel_id // where people will message to revoke auto-attendance\nANNOUNCEMENT_CHANNEL=channel_id // Where bot will announce it has started marking attendance for room id\n```\n\nAfter setting up the environment variables, you can run the bot with:\n\n```bash\npython main.py\n```\n\n## Schedule Configuration\nTo configure the bot's schedule, you need to modify the schedule.csv file. The file should contain three columns: day, time, and room. The day should be the full name of the day (e.g., Monday), the time should be in 24-hour format (e.g., 16:13), and the room should be the room ID. It is recommended to set the time half an hour into the lecture to ensure the bot starts when there is a chance of having attendance.\n\nExample:\n\n```csv\nday,time,room\nMonday,16:13,TESTSOCRATIVE\n```\n\n\n\n\n## Contributing to Chotu Bot\n\nTo contribute to Chotu, follow these steps:\n\n1. Fork this repository.\n2. Create a branch: `git checkout -b \u003cbranch_name\u003e`.\n3. Make your changes and commit them: `git commit -m '\u003ccommit_message\u003e'`\n4. Push to the original branch: `git push origin \u003cproject_name\u003e/\u003clocation\u003e`\n5. Create the pull request.\n\n## Contact\n\nIf you want to contact me you can reach me at `contact@udaysinh.me`.\n\n## License\n\nThis project uses the following license: [Licenese](https://github.com/udaysinh-git/Socrative-Attendance/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaysinh-git%2Fsocrative-attendance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fudaysinh-git%2Fsocrative-attendance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fudaysinh-git%2Fsocrative-attendance/lists"}