mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
update \n logic
This commit is contained in:
parent
a27d2dfd2f
commit
a91587c2bf
@ -95,12 +95,12 @@ def bot_logging(bot, logtype, logentry):
|
||||
if 'SpiceBot_Logs_queue' not in bot.memory:
|
||||
bot.memory['SpiceBot_Logs_queue'] = []
|
||||
|
||||
logmessage = "\n[" + logtype + "] " + logentry + "\n"
|
||||
logmessage = "[" + logtype + "] " + logentry + ""
|
||||
|
||||
if bot.config.SpiceBot_Logs.logging_channel:
|
||||
bot.memory['SpiceBot_Logs_queue'].append(logmessage)
|
||||
|
||||
stderr(logmessage)
|
||||
stderr("\n" + logmessage + "\n")
|
||||
|
||||
if 'SpiceBot_Logs' not in bot.memory:
|
||||
bot.memory['SpiceBot_Logs'] = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user