https://github.com/codetheweb/dialogflow-to-discord
Easily add Discord bot integration to your Dialogflow project
https://github.com/codetheweb/dialogflow-to-discord
Last synced: 4 months ago
JSON representation
Easily add Discord bot integration to your Dialogflow project
- Host: GitHub
- URL: https://github.com/codetheweb/dialogflow-to-discord
- Owner: codetheweb
- License: mit
- Created: 2018-12-07T01:58:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T04:52:18.000Z (about 3 years ago)
- Last Synced: 2024-12-27T14:36:21.416Z (4 months ago)
- Language: JavaScript
- Size: 471 KB
- Stars: 18
- Watchers: 4
- Forks: 4
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
🎙 dialogflow-to-discord
========================Easily add Discord bot integration to your Dialogflow project.
## Usage
You'll need to set 5 environment variables:
- `GOOGLE_APPLICATION_CREDENTIALS` should point to the JSON file of your project credentials
- `PROJECT_ID` should be set to your project ID in Google Cloud
- `DISCORD_TOKEN` should be set to your bot's token
- `DISCORD_PREFIX` should be set to the prefix you want your bot to activate with (bot will also work with DMs and @ mentions)
- `DISCORD_HELP_MESSAGE` is what the bot will reply to the `help` commandThen, just run `node index.js`.
## Docker
Set environment variables and mount a directory containing the Google Cloud `keys.json` file to `/usr/data/` as a volume.