Skip to content

Latest commit

 

History

History

twitchchatmaster

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

twitch_chat

a simple way to connect, send and receive messanges from Twitch chat

Requirements

Python 3.6 +

Usage

  1. download twitch_chat.py
  2. import script
    from twitch_chat import join_chat
  3. connect to chat with Token from https://twitchapps.com/tmi/
    my_chat = TwitchChat(oath='do not share', bot_name='test', channel_name='0815_truppe')
  4. send or receive message
    while True: 
       user, message = my_chat.listen_to_chat()   
       # do something
       my_chat.send_to_chat('hi')