pinhook/examples/irc/dicebot.py

12 lines
185 B
Python
Executable File

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