{"id":16161878,"url":"https://github.com/mrrfv/discord-webhook-qotd-bot","last_synced_at":"2025-10-18T08:38:26.552Z","repository":{"id":154010166,"uuid":"625663995","full_name":"mrrfv/discord-webhook-qotd-bot","owner":"mrrfv","description":"Discord bot that sends a \"question of the day\" every 24 hours","archived":false,"fork":false,"pushed_at":"2024-12-12T14:59:58.000Z","size":48,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T12:30:52.214Z","etag":null,"topics":["discord","discord-bot","discord-fun","discord-webhook","discord-webhooks","fun","games","qotd","question-of-the-day","webhook","webhooks"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mrrfv.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":"2023-04-09T20:01:59.000Z","updated_at":"2024-12-12T14:59:42.000Z","dependencies_parsed_at":"2023-10-03T01:29:37.432Z","dependency_job_id":"6e62d78f-268c-4e5a-9be0-74471f0a7529","html_url":"https://github.com/mrrfv/discord-webhook-qotd-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrfv%2Fdiscord-webhook-qotd-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrfv%2Fdiscord-webhook-qotd-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrfv%2Fdiscord-webhook-qotd-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrrfv%2Fdiscord-webhook-qotd-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrrfv","download_url":"https://codeload.github.com/mrrfv/discord-webhook-qotd-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243950911,"owners_count":20373663,"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":["discord","discord-bot","discord-fun","discord-webhook","discord-webhooks","fun","games","qotd","question-of-the-day","webhook","webhooks"],"created_at":"2024-10-10T02:28:00.979Z","updated_at":"2025-10-18T08:38:26.471Z","avatar_url":"https://github.com/mrrfv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Question of the Day Bot\n\nThis is a Node.js application that utilizes a discord webhook to post a question of the day from a file to a Discord channel. It reads a JSON object containing an array of questions and posts one question according to your schedule.\n\n## Usage\n\n1. Include your own questions in `questions.json`. A format is included in `questions.json.format`.\n2. Run `npm install` to install dependencies.\n3. Copy `.env.example` to `.env` and fill in the values.\n4. Run `node index.js`.\n\n## Docker\n\nYou can also run this bot in a Docker container. To do so, use the following commands:\n\n```bash\n# Create progress.txt file\ncat 0 \u003e \"$(pwd)\"/progress.txt\n# Make sure to also create the questions.json file in the same directory\n\n# Run the image\ndocker run -d \\ \n    -e WEBHOOK_URL=\"enter webhook url here\" \\ \n    -e CRON_SCHEDULE=\"enter cron schedule here\" \\ \n    -e OPTIONAL_MESSAGE_CONTENT=\"\" \\ \n    -e TZ=\"Europe/Berlin\" \\ \n    --mount type=bind,source=\"$(pwd)\"/questions.json,target=/app/questions.json,readonly \\ \n    --mount type=bind,source=\"$(pwd)\"/progress.txt,target=/app/progress.txt \\ \n    --restart always \\ \n    --name qotdbot \\ \n    mrrfv/discord-webhook-qotd-bot:latest\n```\n\nThe command above expects that the progress.txt and questions.json files already exist, and that they are in the current directory. Change the value of the `TZ` environment variable for message scheduling to work properly.\n\n## License\n\nBSD 3-Clause License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrfv%2Fdiscord-webhook-qotd-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrrfv%2Fdiscord-webhook-qotd-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrrfv%2Fdiscord-webhook-qotd-bot/lists"}