{"id":22177636,"url":"https://github.com/ntidev/ladelosrolos_bot","last_synced_at":"2025-03-24T18:25:24.228Z","repository":{"id":44680129,"uuid":"512893206","full_name":"ntidev/ladelosrolos_bot","owner":"ntidev","description":"This was a simple script/bot created to send random messages to a specific Slack channel of the company.","archived":false,"fork":false,"pushed_at":"2022-07-15T15:18:14.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T23:15:42.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ntidev.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}},"created_at":"2022-07-11T20:02:32.000Z","updated_at":"2022-07-11T23:48:09.000Z","dependencies_parsed_at":"2022-08-04T01:45:46.182Z","dependency_job_id":null,"html_url":"https://github.com/ntidev/ladelosrolos_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/ntidev%2Fladelosrolos_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2Fladelosrolos_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2Fladelosrolos_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntidev%2Fladelosrolos_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntidev","download_url":"https://codeload.github.com/ntidev/ladelosrolos_bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245326593,"owners_count":20597063,"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":[],"created_at":"2024-12-02T08:30:11.446Z","updated_at":"2025-03-24T18:25:24.196Z","avatar_url":"https://github.com/ntidev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LA DE LOS ROLOS - Slack Bot\n\nThis was a simple script/bot created to send random messages to a specific Slack channel.\n\nInitially questions were in a TXT file.\n\nThe idea is to:\n1. Create a DB and update .env accordingly\n2. Run `populate_DB.py` script to create and populate the questions table\n3. Set a CRON JOB to run `bot.py`\n\nThe bot will run, look for a random row only if it hasn't been sent before. Send the question to slack and then mark it as sent. \n\n# Run with docker\n\nAfter running the `populate_DB.py` script, you can run the bot with the following command:\n\n```bash\ndocker-compose up\n```\n\nNow you can see the bot running in the docker container.\n\n## Potential Enhancements\n- Add: Try Except\n- Improve DB creation and population\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntidev%2Fladelosrolos_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntidev%2Fladelosrolos_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntidev%2Fladelosrolos_bot/lists"}