Some logging and comments

This commit is contained in:
Nikolaj Danger
2020-03-24 17:02:27 +01:00
parent 5c85ea8d5b
commit 5f78967eb2
6 changed files with 40 additions and 12 deletions

View File

@ -70,6 +70,9 @@ async def on_message(message):
logging.info("\n"+localtime+"\n"+message.author.name+" ran !monster")
title, text1, text2, text3, text4, text5 = funcs.monsterFunc(message.content)
em1 = discord.Embed(title = title, description = text1, colour=0xDEADBF)
# Sends the received information. Seperates into seperate messages if
# there is too much text
await message.channel.send(embed = em1)
if text2 != "":
if len(text2) < 2048: