mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
found the message bug
This commit is contained in:
parent
249877631c
commit
1c0ce32496
@ -28,7 +28,7 @@ def bot_command_logs(bot, trigger):
|
||||
bot.osd("Current valid log(s) include: " + spicemanip.main(bot.memory['SpiceBot_Logs']["logs"].keys(), 'andlist'), trigger.sender, 'action')
|
||||
return
|
||||
|
||||
logtype = inlist_match(bot, logtype, bot.memory['SpiceBot_Logs'].keys())
|
||||
logtype = inlist_match(bot, logtype, bot.memory['SpiceBot_Logs']["logs"].keys())
|
||||
|
||||
if logtype == "Sopel_systemd":
|
||||
logindex = systemd_logs_fetch(bot)
|
||||
|
||||
@ -385,11 +385,9 @@ class SopelWrapperOSD(object):
|
||||
recipients = self._trigger.sender
|
||||
self._bot.osd(self, messages, recipients, text_method, max_messages)
|
||||
|
||||
def msg(self, destination=None, message='', max_messages=1):
|
||||
if destination is None:
|
||||
destination = self._trigger.sender
|
||||
def msg(self, destination, message, max_messages=1):
|
||||
self._bot.osd(self, message, destination, 'PRIVMSG', 1)
|
||||
# self._bot.say(message, destination, max_messages)
|
||||
# self._bot.msg(destination, message, max_messages)
|
||||
|
||||
def say(self, message, destination=None, max_messages=1):
|
||||
if destination is None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user