endoplasmic / google-assistant

A node.js implementation of the Google Assistant SDK
MIT License
283 stars 75 forks source link

How do I authenticate automatically and use google-assistant? #76

Closed singerbj closed 3 years ago

singerbj commented 4 years ago

I want to use the assistant with a discord bot, so no user interaction for oauth. Is that possible?

endoplasmic commented 4 years ago

You would want to save the OAuth credentials someplace (usually a JSON file) that the discord bot can create a client from.

You can use the example files in this repo to generate your JSON file that can then be saved someplace in a server that the Discord bot can access.