dialogflow-to-discord
dialogflow-to-discord copied to clipboard
Easily add Discord bot integration to your Dialogflow project
🎙 dialogflow-to-discord
Easily add Discord bot integration to your Dialogflow project.
Usage
You'll need to set 5 environment variables:
GOOGLE_APPLICATION_CREDENTIALSshould point to the JSON file of your project credentialsPROJECT_IDshould be set to your project ID in Google CloudDISCORD_TOKENshould be set to your bot's tokenDISCORD_PREFIXshould be set to the prefix you want your bot to activate with (bot will also work with DMs and @ mentions)DISCORD_HELP_MESSAGEis what the bot will reply to thehelpcommand
Then, 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.