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 hashes)

Uploaded Python 3

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