{"id":17949970,"url":"https://github.com/noook/ts-bot","last_synced_at":"2025-03-24T23:32:05.836Z","repository":{"id":42204659,"uuid":"192241894","full_name":"noook/ts-bot","owner":"noook","description":"A discord.js bot made with Typescript. Determines your MBTI type","archived":false,"fork":false,"pushed_at":"2023-01-07T06:26:38.000Z","size":596,"stargazers_count":6,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-19T05:23:25.446Z","etag":null,"topics":["discord","discord-bot","discordjs","discordjs-commando","mbti","mbti-personality","typeorm","typescript"],"latest_commit_sha":null,"homepage":"https://discord.gg/2wDVQKM","language":"TypeScript","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/noook.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":"2019-06-16T22:18:02.000Z","updated_at":"2024-02-04T01:22:51.000Z","dependencies_parsed_at":"2023-02-06T14:01:11.316Z","dependency_job_id":null,"html_url":"https://github.com/noook/ts-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/noook%2Fts-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fts-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fts-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noook%2Fts-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noook","download_url":"https://codeload.github.com/noook/ts-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245372193,"owners_count":20604487,"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","discordjs","discordjs-commando","mbti","mbti-personality","typeorm","typescript"],"created_at":"2024-10-29T09:36:05.553Z","updated_at":"2025-03-24T23:32:05.420Z","avatar_url":"https://github.com/noook.png","language":"TypeScript","readme":"# MBTI Discord bot\n\n## Setup\n\n### Development environment\n\n1. Install Docker\n2. Install the dependencies with `docker-compose run bot npm i`\n3. Copy `.env` to `.env.dist` and fill in the credentials\n4. Execute migrations with `docker-compose run bot npm run typeorm migration:run`\n5. You can run the stack by running `docker-compose up -d`\n6. To check the logs you can either attach your shell to the process with `docker attach bot` or use VS Code Debugger\n7. Load questions in the database with `docker-compose run bot npm run bin questions:load`\n8. Stop containers with `docker-compose down`\n\n### Useful commands\n\n- `docker-compose up -d` Runs containers\n- `docker-compose down` Shuts down containers\n- `docker-compose run bot \u003ccommand\u003e` Runs a command in the node container (bot)\n- `docker-compose run bot npm run bin questions:load` Run the command located in `src/bin` folder\n- `docker-compose run bot npm run typeorm migration:run` Runs the migrations\n- `docker-compose run bot npm run typeorm migration:generate -- -n \u003cmigration name\u003e` Generates a migration file\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoook%2Fts-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoook%2Fts-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoook%2Fts-bot/lists"}