parent
dfd2cd76af
commit
3287b20c43
|
@ -131,8 +131,10 @@ class Bot(irc.bot.SingleServerIRCBot):
|
||||||
text = e.arguments[0]
|
text = e.arguments[0]
|
||||||
if e.target == self.bot_nick:
|
if e.target == self.bot_nick:
|
||||||
chan = nick
|
chan = nick
|
||||||
|
nick_list = [nick]
|
||||||
else:
|
else:
|
||||||
chan = e.target
|
chan = e.target
|
||||||
|
nick_list = list(self.channels[chan].users())
|
||||||
if e.type == 'action':
|
if e.type == 'action':
|
||||||
cmd = ''
|
cmd = ''
|
||||||
else:
|
else:
|
||||||
|
@ -166,7 +168,7 @@ class Bot(irc.bot.SingleServerIRCBot):
|
||||||
output = pinhook.plugin.cmds[cmd](self.Message(
|
output = pinhook.plugin.cmds[cmd](self.Message(
|
||||||
channel=chan,
|
channel=chan,
|
||||||
cmd=cmd,
|
cmd=cmd,
|
||||||
nick_list=list(self.channels[chan].users()),
|
nick_list=nick_list,
|
||||||
nick=nick,
|
nick=nick,
|
||||||
arg=arg,
|
arg=arg,
|
||||||
botnick=self.bot_nick,
|
botnick=self.bot_nick,
|
||||||
|
@ -183,7 +185,7 @@ class Bot(irc.bot.SingleServerIRCBot):
|
||||||
output = pinhook.plugin.lstnrs[lstnr](self.Message(
|
output = pinhook.plugin.lstnrs[lstnr](self.Message(
|
||||||
channel=chan,
|
channel=chan,
|
||||||
text=text,
|
text=text,
|
||||||
nick_list=list(self.channels[chan].users()),
|
nick_list=nick_list,
|
||||||
nick=nick,
|
nick=nick,
|
||||||
botnick=self.bot_nick,
|
botnick=self.bot_nick,
|
||||||
ops=self.ops,
|
ops=self.ops,
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -72,7 +72,7 @@ class UploadCommand(Command):
|
||||||
# Where the magic happens:
|
# Where the magic happens:
|
||||||
setup(
|
setup(
|
||||||
name=NAME,
|
name=NAME,
|
||||||
version='1.4.2',
|
version='1.4.3',
|
||||||
description=DESCRIPTION,
|
description=DESCRIPTION,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author=AUTHOR,
|
author=AUTHOR,
|
||||||
|
|
Loading…
Reference in New Issue