From 9bc48c3de9aa7fc4bf7442a9366b10bdb503d626 Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Wed, 7 Feb 2018 09:55:50 -0800 Subject: [PATCH] made arguments for initiating bot clearer --- examples/irc/dicebot.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/irc/dicebot.py b/examples/irc/dicebot.py index ea16c62..9c2d181 100644 --- a/examples/irc/dicebot.py +++ b/examples/irc/dicebot.py @@ -1,4 +1,9 @@ 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()