no message
This commit is contained in:
parent
fe11cb9d03
commit
1d7c369345
1 changed files with 2 additions and 2 deletions
|
|
@ -216,15 +216,15 @@ class IRCBot(Bot):
|
||||||
if not from_obj or from_obj != [self.id]:
|
if not from_obj or from_obj != [self.id]:
|
||||||
super(IRCBot, self).msg(text=text, options={"bot_data_out": True})
|
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
|
Take incoming data and send it to connected channel. This is
|
||||||
triggered by the CmdListen command in the BotCmdSet.
|
triggered by the CmdListen command in the BotCmdSet.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
text (str, optional): Command string.
|
|
||||||
session (Session, optional): Session responsible for this
|
session (Session, optional): Session responsible for this
|
||||||
command.
|
command.
|
||||||
|
text (str, optional): Command string.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if not self.ndb.ev_channel and self.db.ev_channel:
|
if not self.ndb.ev_channel and self.db.ev_channel:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue