{"id":17756965,"url":"https://github.com/sholtrop/boterbotts","last_synced_at":"2026-01-20T20:33:23.287Z","repository":{"id":43763445,"uuid":"234173785","full_name":"sholtrop/boterbotTS","owner":"sholtrop","description":"Discord bot written in TypeScript, using Mongoose/MongoDB.","archived":false,"fork":false,"pushed_at":"2023-07-18T21:00:57.000Z","size":2015,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-08T05:34:36.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sholtrop.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":"2020-01-15T21:08:30.000Z","updated_at":"2023-08-08T05:34:36.933Z","dependencies_parsed_at":"2024-10-26T16:56:06.727Z","dependency_job_id":"3baaef0c-a13d-4987-b527-5c7145fc5f2c","html_url":"https://github.com/sholtrop/boterbotTS","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/sholtrop/boterbotTS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sholtrop%2FboterbotTS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sholtrop%2FboterbotTS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sholtrop%2FboterbotTS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sholtrop%2FboterbotTS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sholtrop","download_url":"https://codeload.github.com/sholtrop/boterbotTS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sholtrop%2FboterbotTS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28612963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-26T16:10:56.746Z","updated_at":"2026-01-20T20:33:23.271Z","avatar_url":"https://github.com/sholtrop.png","language":"TypeScript","readme":"# BoterbotTS\r\n\r\nDiscord bot written in TypeScript.\r\n\r\n## Install\r\n\r\n1. Clone the repo:\r\n\r\n```bash\r\ngit clone https://github.com/sholtrop/boterbotTS\r\n```\r\n\r\n2. Then install the dependencies:\r\n\r\n```bash\r\ncd boterbotTS \u0026\u0026 npm install\r\n```\r\n3. Add a `dev.env` file with:\r\n\r\n```\r\nBOT_TOKEN=\u003cyour token here\u003e\r\n```\r\nNever commit this file, as you would expose your bot's secret token!\r\n\r\n4. Run the dev setup with:\r\n\r\n```bash\r\nnpm run dev\r\n```\r\n\r\n## Deploying\r\n\r\n### Heroku\r\nI personally use a Docker image in combination wit heroku. A `heroku.yml` file is included for this purpose. Set up a Heroku account, and follow the instructions [here](https://devcenter.heroku.com/articles/build-docker-images-heroku-yml).\r\n\r\n### Docker-compose\r\nYou will need to add two files:\r\n- db.env with\r\n\r\n```\r\nMONGO_INITDB_ROOT_USERNAME=\u003cany username you want\u003e\r\nMONGO_INITDB_ROOT_PASSWORD=\u003cany password you want\u003e\r\n```\r\n\r\n- bot.env with\r\n```\r\nMONGODB_URI=\u003cmongodb://\u003cusername from db.env\u003e:\u003cpassword from db.env\u003e@database:27017\r\nBOT_TOKEN=\u003cyour token here\u003e\r\n```\r\nThen you can launch the bot with `docker-compose up --build`.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsholtrop%2Fboterbotts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsholtrop%2Fboterbotts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsholtrop%2Fboterbotts/lists"}