{"id":20942624,"url":"https://github.com/the-programmers-hangout/tph-docs-bot","last_synced_at":"2025-05-13T23:33:19.185Z","repository":{"id":43409759,"uuid":"327481887","full_name":"the-programmers-hangout/tph-docs-bot","owner":"the-programmers-hangout","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-02T21:21:10.000Z","size":897,"stargazers_count":2,"open_issues_count":6,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T10:11:11.587Z","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/the-programmers-hangout.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}},"created_at":"2021-01-07T02:29:37.000Z","updated_at":"2023-11-17T22:18:50.000Z","dependencies_parsed_at":"2022-08-26T20:57:50.603Z","dependency_job_id":null,"html_url":"https://github.com/the-programmers-hangout/tph-docs-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/the-programmers-hangout%2Ftph-docs-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-programmers-hangout%2Ftph-docs-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-programmers-hangout%2Ftph-docs-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-programmers-hangout%2Ftph-docs-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-programmers-hangout","download_url":"https://codeload.github.com/the-programmers-hangout/tph-docs-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254043218,"owners_count":22004912,"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-11-18T23:28:34.411Z","updated_at":"2025-05-13T23:33:14.151Z","avatar_url":"https://github.com/the-programmers-hangout.png","language":"TypeScript","readme":"# tphdocsbot\n\nA Discord bot to display documentation\n\n## Currently supported docs\n\n* discord.js (includes main/stable branch, includes djs-voice, djs-builders and djs-collection documentations)\n* Javascript ([mdn](https://developer.mozilla.org/))\n\n## Docker\n\nTo build and run the Docker container locally:\n\n```console\ndocker build . -t tphdocsbot:latest\n```\n\n```console\ndocker run -e TOKEN=\u003cyour discord token\u003e -e APPLICATIONID=\u003cApplicationID\u003e -e GUILDID=\u003cGuildID\u003e tphdocsbot:latest\n```\n\n### Cofiguration\n\n* `TOKEN` [required] the Discord bot token to run under\n* `APPLICATIONID` [required]  the Discord bot's application ID. Get it from [Dev portal](https://discord.com/developers/applications) -\u003e your bot -\u003e General Information -\u003e Application ID\n* `GUILDID` (required to register on a specific guild) the guild id to register commands on, recommended to register on a specific guild for testing\n\n### Registering\n\nIn order to register the commands globally, run\n\n```console\nnpm run register-global-commands\n```\n\nFor registering guild-specific commands (Recommended for testing)\n\n```console\nnpm run register-guild-commands\n```\n\nAfterwards to reset guild commands, (To avoid duplication of global and guild-specific commands)\n\n```console\nnpm run reset-guild-commands\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-programmers-hangout%2Ftph-docs-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-programmers-hangout%2Ftph-docs-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-programmers-hangout%2Ftph-docs-bot/lists"}