pinhook/examples/twitch/dicebot.py

11 lines
174 B
Python
Executable File

#!/usr/bin/env python
from pinhook.bot import TwitchBot
bot = TwitchBot(
nickname='dicebot',
channel='#dicechannel',
token='supersecrettokenhere'
)
bot.start()