

With the proper settings, the logs should look like this.Ĭurl -fsSL | gpg -dearmor -o /etc/apt//google.gpg Does it react when you speak in the voice channel? Launching in debug mode npm run debug also helps you understand what's going on inside. Check your operating system's volume mixer.

If not, something went wrong with your settings. Say "OK assistant, help" in the voice channel. Let's change it to the virtual playback device.Īnd change the microphone device as well. You would hear your voice on your machine since the Chrome playback device is the default audio device.

If you want to reset the Chrome settings, just delete the directory. The iwassistant user profile is stored in tmp/chrome/. The Chrome user profile is completely isolated. Google Chrome should start automatically. Ubuntu: PulseAudio (How to add devices is the same as Ubuntu Server).Windows/Mac: VB-CABLE Virtual Audio Device.Note: The setup procedure for Ubuntu Server will be explained later. Edit src/env/default.ts as follows, then build and launch.Save the JSON file as secrets/google-cloud.json.Input a service account name as you want.Create a service account and get a JSON file.Firestore: Create a Firestore in Native mode database (cf.Be careful with your settings and be aware of what you're doing. However, the free quota of Cloud Speech-to-Text is only one hour per month. Firestore, Cloud Translation, and Cloud Text-to-Speech will probably not charge you if your bot is private. They are not free, but thankfully, they have free quotas. If you want to make your bot more reliable, use the Google Cloud engines instead. For example, if you use the tts-google-translate engine thousands of times in a few minutes, you might get banned from the API for a while. The free engines are very basic or unreliable. Here are examples.Įngines:, Google Cloud Engines There are three types of plugin properties. Or, you can just jump to the definition by the F12 key. When you mouse over a plugin name in Visual Studio Code, the pop-up window tells what properties the plugin has. You can enable/disable/customize the plugins and build your own assistant by editing src/env/default.ts. * Input the command in a text chat in a voice channel NameĬonfigure text and voice* channel's settings Iwassistant itself doesn't have any feature, its plugins have. Say "OK assistant, help" in a voice channelĪfter the /help command, you'd see some commands you can use in your server. Input "OK assistant, help" in a text channel Iwassistant accepts commands in three ways. Let's check out the basic features first. The bot should work perfectly, except for speech-to-text.
