pinhook/examples/irc/dicebot.py

10 lines
162 B
Python

from pinhook.bot import Bot
ph = Bot(
channels=['#dicechannel'],
nickname='dicebot',
server='irc.freenode.net',
ops=['archangelic']
)
ph.start()