mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-10 21:50:59 -05:00
add newlines to logging
This commit is contained in:
parent
cf2771a1a1
commit
835b6aa0b8
@ -95,7 +95,7 @@ def bot_logging(bot, logtype, logentry):
|
||||
if 'SpiceBot_Logs_queue' not in bot.memory:
|
||||
bot.memory['SpiceBot_Logs_queue'] = []
|
||||
|
||||
logmessage = "[" + logtype + "] " + logentry
|
||||
logmessage = "\n[" + logtype + "] " + logentry + "\n"
|
||||
|
||||
if bot.config.SpiceBot_Logs.logging_channel:
|
||||
bot.memory['SpiceBot_Logs_queue'].append(logmessage)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user