{"id":15073562,"url":"https://github.com/att1tudee/motd","last_synced_at":"2026-02-19T10:33:01.003Z","repository":{"id":204890039,"uuid":"659883139","full_name":"Att1Tudee/motd","owner":"Att1Tudee","description":"👾👾👾message of the day bot for discord. 👾👾👾","archived":false,"fork":false,"pushed_at":"2024-01-23T13:08:01.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T18:47:30.136Z","etag":null,"topics":["cogs","discord","discord-bot","docker","env","mongodb","mongodb-atlas","python3","raspberry-pi-3"],"latest_commit_sha":null,"homepage":"https://discord.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Att1Tudee.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-28T19:16:41.000Z","updated_at":"2024-01-18T13:40:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"48c96789-145f-4df4-a33e-e6c3a1b20694","html_url":"https://github.com/Att1Tudee/motd","commit_stats":null,"previous_names":["att1tudee/motd"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Att1Tudee/motd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Att1Tudee%2Fmotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Att1Tudee%2Fmotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Att1Tudee%2Fmotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Att1Tudee%2Fmotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Att1Tudee","download_url":"https://codeload.github.com/Att1Tudee/motd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Att1Tudee%2Fmotd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279139980,"owners_count":26112497,"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-16T02:00:06.019Z","response_time":53,"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":["cogs","discord","discord-bot","docker","env","mongodb","mongodb-atlas","python3","raspberry-pi-3"],"created_at":"2024-09-25T03:02:22.197Z","updated_at":"2025-10-16T02:07:32.248Z","avatar_url":"https://github.com/Att1Tudee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Message of the Day Bot Setup Guide\n\n## Prerequisites\n\nBefore setting up the Discord Message of the Day (MotD) bot, ensure you have the following:\n\n1. **MongoDB Database Access**: Sign up for a free MongoDB account at [MongoDB Cloud Atlas](https://www.mongodb.com/cloud/atlas/register).\n\n2. **Discord Bot**: Create a Discord bot by registering an application at [Discord Developer Portal](https://discord.com/developers/applications).\n\n3. **Discord Server**: You need a Discord server where you have the permission to invite the bot and manage messages.\n\n4. **Docker**: Install Docker on the computer where you plan to run the bot. You can download Docker [here](https://www.docker.com/get-started).\n\n## Environment Setup\n\nCreate a .env file for your environment settings. The file isn't generated because of security reasons. The file should contain the following information:\n\n- Discord Bot Token\n- MongoDB Connection String\n- Database Name\n ```sh\n   # .env file in discordbot folder\n   TOKEN=\"\u003cdiscord-bot-token\u003e\"\n   MONGODB=\"\u003cmongodb-connection-string\u003e\"\n   DATABASE=\"data\"\n   ```\nAdd the file in both discordbot and webclient folders\n\n## Running the Bot\n\n### Discord Bot\n\nNavigate to the `discordbot` folder and start the Discord bot using Docker.\n```sh\n    docker compose up -d\n```\nAfter docker does it's things, you should see your bot come online. \n\n\n### Web Client\n\nNavigate to the `webclient` folder and start the web client using Docker.\n```sh\n    docker compose up -d\n```\nVisit [http://localhost:5000/](http://localhost:5000/) in your browser, and the web client should connect to your MongoDB database.\n\n## Usage\n\n1. Set up the bot channel by typing `!setchannel` in the desired channel (requires \"Manage Messages\" permission).\n\n2. The web client is accessible at [http://localhost:5000/](http://localhost:5000/) to interact with the MongoDB database.\n\nFeel free to customize and extend the functionality based on your preferences!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatt1tudee%2Fmotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatt1tudee%2Fmotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatt1tudee%2Fmotd/lists"}