{"id":19277707,"url":"https://github.com/dsnsgithub/ts-discord-bot","last_synced_at":"2025-02-23T21:25:34.994Z","repository":{"id":246136957,"uuid":"820205181","full_name":"dsnsgithub/ts-discord-bot","owner":"dsnsgithub","description":"A template for more advanced discord bots.","archived":false,"fork":false,"pushed_at":"2024-06-26T02:55:06.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T15:49:06.121Z","etag":null,"topics":["discord","discord-bot","javascript","slash-commands","ts-dotenv","typescript"],"latest_commit_sha":null,"homepage":"","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/dsnsgithub.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":"2024-06-26T02:42:10.000Z","updated_at":"2024-08-02T05:27:26.000Z","dependencies_parsed_at":"2024-06-26T04:03:02.708Z","dependency_job_id":null,"html_url":"https://github.com/dsnsgithub/ts-discord-bot","commit_stats":null,"previous_names":["dsnsgithub/ts-discord-bot"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnsgithub%2Fts-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnsgithub%2Fts-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnsgithub%2Fts-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnsgithub%2Fts-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsnsgithub","download_url":"https://codeload.github.com/dsnsgithub/ts-discord-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240381240,"owners_count":19792430,"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","javascript","slash-commands","ts-dotenv","typescript"],"created_at":"2024-11-09T21:06:41.674Z","updated_at":"2025-02-23T21:25:34.974Z","avatar_url":"https://github.com/dsnsgithub.png","language":"TypeScript","readme":"# Generic Typescript Discord Bot (discord.js)\n\nA template for more advanced discord bots.\n- Slash commands, ts-dotenv for typescript enviroment variables.\n- Requires ts-node to be installed globally\n\n### 2. Enter the repository and install dependencies:\n\n\tcd typescript-discord-bot\n\tnpm install\n\n### 3. Create a `.env` file and add these properties:\n\n\tDISCORD_BOT_TOKEN = [create a discord bot in the developer portal and add the token here]\n\tCLIENT_ID = [discord bot client id, found in discord developer portal] \n\tGUILD_ID = [id from guild where you want to log/send chat messages]\n\n### 4. Register Discord Slash Commands:\n\n    ts-node deploy-commands.ts\n\n### 5. Run the Discord Bot:\n\n    ts-node .","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsnsgithub%2Fts-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsnsgithub%2Fts-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsnsgithub%2Fts-discord-bot/lists"}