Continued work on the bots.

This commit is contained in:
Griatch 2014-02-22 09:56:21 +01:00
parent 54586d0261
commit 2ae5d56928
3 changed files with 15 additions and 12 deletions

View file

@ -112,7 +112,7 @@ class IRCBot(Bot):
# instruct the server and portal to create a new session
_SESSIONS.start_bot_session("src.server.portal.irc.IRCClient", self.id)
def connect_to_channel(self, channelname):
def connect_to_channel(self, botkey, channelname):
"""
Connect the bot to an Evennia channel
"""
@ -130,4 +130,5 @@ class IRCBot(Bot):
self.dbobj.msg(text=text)
def execute_cmd(
def execute_cmd(self):
pass