From 1d7c3693451f3ba3bc04770ccbd829e7efaee8f2 Mon Sep 17 00:00:00 2001 From: "Tablet-PC\\cloud" Date: Tue, 24 Jan 2017 12:31:08 +1100 Subject: [PATCH] no message --- evennia/players/bots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/players/bots.py b/evennia/players/bots.py index 11a690cd99..688ae7535f 100644 --- a/evennia/players/bots.py +++ b/evennia/players/bots.py @@ -216,15 +216,15 @@ class IRCBot(Bot): if not from_obj or from_obj != [self.id]: super(IRCBot, self).msg(text=text, options={"bot_data_out": True}) - def execute_cmd(self, text=None, session=None, **kwargs): + def execute_cmd(self, session=None, text=None, **kwargs): """ Take incoming data and send it to connected channel. This is triggered by the CmdListen command in the BotCmdSet. Args: - text (str, optional): Command string. session (Session, optional): Session responsible for this command. + text (str, optional): Command string. """ if not self.ndb.ev_channel and self.db.ev_channel: