pinhook/examples/irc/dicebot.py

12 lines
185 B
Python
Raw Permalink Normal View History

2018-10-10 17:23:31 +00:00
#!/usr/bin/env python
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()