made arguments for initiating bot clearer

pull/29/head
Mallory Hancock 2018-02-07 09:55:50 -08:00
parent 541001d3c8
commit 9bc48c3de9
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
import pinhook.bot import pinhook.bot
ph = pinhook.bot.Bot(['#dicechannel'], 'dicebot', 'irc.freenode.net, ops=['archangelic']) ph = pinhook.bot.Bot(
channels=['#dicechannel'],
nickname='dicebot',
server='irc.freenode.net',
ops=['archangelic']
)
ph.start() ph.start()