Skip to main content

A twitch bot for streamers who can't / don't want to talk

Project description

Twitch Talkbot

A twitch bot for streamers who can’t / don’t want to speak. Uses the standard TTS engine for your OS to convert text you type into audible speech. Talkbot will see everything you type in the twitch chat, and will speak it. Additionally, you may type text into the prompt you get when you run Talkbot locally on your PC, and this text will be spoken too, and also simultaneously sent to the twitch chat as if you typed it in there.

Setup instructions

First-time setup

You only need to do this stuff once.

  1. Install Python 3.7

  2. Open a Command Prompt or a terminal and type the following command to install twitch_talkbot:

    python -m pip install twitch_talkbot
  3. Once the installation command completes, type the following command to run Talkbot:

    python -m twitch_talkbot
  4. Since you do not have a configuration file yet, running the above command should result in the following output:

    Unable to find config file. Created default in 'xxxx.json', please
    enter appropriate values and re-run.

    Open the default configuraton file that was created for you at xxxx.json, and ensure the following parameters are set:

    1. "twitch_auth_token": ensure this is set to the OAuth token for the twitch account you want the bot to use (e.g. "twitch_auth_token": "oauth:blahblahblahblahblah"). Generate an OAuth token here (you will need to log in to the twitch account you plan to use).

    2. "twitch_bot_account": Ensure this is set to the name of the twitch account you want to the bot to log in with (e.g. "twitch_bot_account": "endremia").

    3. "twitch_client_id": Ensure this is set to the client ID for your registered application (e.g. "twitch_client_id": "blahblahblahblah"). Register a new application here (Set “OAuth redirect URLs” to http://localhost).

That’s it, you’re done, and hopefully you never have to do those things again.

Running the bot

Every time you want to start twitch_talkbot, open a Command Prompt or terminal and type the following command:

python -m twitch_talkbot

Now, the bot is running and you can type commands or text to speak into the command prompt window, or into the twitch chat window.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

twitch_talkbot-0.1.6-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file twitch_talkbot-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: twitch_talkbot-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6

File hashes

Hashes for twitch_talkbot-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4500ac3eabd48742f796070bb3af3a23da8ae8f1ffb0f5f3388114c98f670e
MD5 77e170755b56260732be34d689d1f9fa
BLAKE2b-256 23fcd53b87629233b9874070147fe90f856cc85f4ab0f1613e8cfc1768012195

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page