a simple way to connect, send and receive messanges from Twitch chat
Python 3.6 +
- download twitch_chat.py
- import script
from twitch_chat import join_chat
- connect to chat with Token from https://twitchapps.com/tmi/
my_chat = TwitchChat(oath='do not share', bot_name='test', channel_name='0815_truppe')
- send or receive message
while True: user, message = my_chat.listen_to_chat() # do something my_chat.send_to_chat('hi')