Fast and easy way to use.
- Join the twitch channel.
- Send message.
- Get new message.
git clone https://github.com/NatLee/Twitch-Echo-Bot-with-Python.git
from twitchSocket import twitchSocket
ts = twitchSocket(channelName='<YourChannelName>',
botName ='<YourBotAccountName>',
botAuth ='<YourBotAccountTwitchAuthKey')
while True:
try:
username, message = ts.getMsg()
# Your logic here.
ts.sendMsg(message)
except(KeyboardInterrupt, EOFError, SystemExit):
break