pinhook/examples/irc/dicebot.py

10 lines
162 B
Python
Raw Normal View History

2018-02-07 18:33:30 +00:00
from pinhook.bot import Bot
2018-02-07 00:30:54 +00:00
2018-02-07 18:33:30 +00:00
ph = Bot(
channels=['#dicechannel'],
nickname='dicebot',
server='irc.freenode.net',
ops=['archangelic']
)
2018-02-07 00:30:54 +00:00
ph.start()