{"id":16327457,"url":"https://github.com/subztep/chatbot","last_synced_at":"2026-04-18T02:32:40.595Z","repository":{"id":78820738,"uuid":"181916259","full_name":"SubZtep/chatbot","owner":"SubZtep","description":"Discord chatbot that uses Google’s Dialogflow","archived":false,"fork":false,"pushed_at":"2020-06-24T07:24:28.000Z","size":209,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T04:37:40.550Z","etag":null,"topics":["ai","chatbot","dialogflow","discord","discord-bot","ml","nodejs","typescript"],"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/SubZtep.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,"zenodo":null}},"created_at":"2019-04-17T15:10:36.000Z","updated_at":"2019-10-07T05:25:29.000Z","dependencies_parsed_at":"2023-04-18T20:08:04.112Z","dependency_job_id":null,"html_url":"https://github.com/SubZtep/chatbot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SubZtep/chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubZtep%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubZtep%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubZtep%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubZtep%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SubZtep","download_url":"https://codeload.github.com/SubZtep/chatbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SubZtep%2Fchatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","chatbot","dialogflow","discord","discord-bot","ml","nodejs","typescript"],"created_at":"2024-10-10T23:11:29.471Z","updated_at":"2026-04-18T02:32:40.591Z","avatar_url":"https://github.com/SubZtep.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chatbot :tongue:\n\nDiscord chatbot using Dialogflow agent.\nAfter the start, it sends a message to the configured user.\nOnly one-to-one DM is possible at the moment.\n\n## Setup\n\n1. Install [NodeJS](https://nodejs.org/) and [Yarn](http://yarnpkg.com/).\n2. [Create](https://console.dialogflow.com/api-client) **Dialogflow agent**, use v2 API and turn on beta features.\n3. Create key and save JSON config from Service Account to `assets/dialogflow/filename.json`.\n4. [Create](https://discordapp.com/developers/applications/) **Discord BOT** and [add to a server](https://discordjs.guide/preparations/adding-your-bot-to-servers.html#bot-invite-links) if you wish.\n5. Clone (or download) repository.\n6. Run `yarn install` for download dependencies.\n7. Create `.env` file:\n   ```bash\n   DISCORD_TOKEN=\"XXX6TESTTESTTESTTEST9XXX\"\n   KEY_FILE=\"./assets/dialogflow/small-talk-1-xyz-example.json\"\n   PIC_FILE=\"./assets/pictures/test.jpg\"\n   CHAT_WITH_USER_ID=\"123456789012345678\"\n   ```\n8. Run `yarn build` for build project.\n9. Run `yarn start` for start BOT.\n\n## BOT Commands\n\n| Chat Message | Description    |\n| ------------ | -------------- |\n| `!die`       | Kill BOT       |\n| `!pic`       | Send a picture |\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubztep%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubztep%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubztep%2Fchatbot/lists"}