Skip to content

Easily add Discord bot integration to your Dialogflow project

License

Notifications You must be signed in to change notification settings

codetheweb/dialogflow-to-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎙 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 command

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.

About

Easily add Discord bot integration to your Dialogflow project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published