Reenabled message logging

This commit is contained in:
Daniel Dayley 2023-05-15 15:23:57 -06:00
parent 5faabd0792
commit 9626047cc6
Signed by: Cronocide
GPG Key ID: 2CB7D4B8DEB3198E

View File

@ -142,7 +142,7 @@ if __name__ == '__main__':
# Create a fastAPI instance # Create a fastAPI instance
@bot.post('/message') @bot.post('/message')
async def message(content: dict,background_tasks: BackgroundTasks) : async def message(content: dict,background_tasks: BackgroundTasks) :
# log.debug(content) log.debug(content)
if content['type'] == 'new-message' : if content['type'] == 'new-message' :
message = content['data'] message = content['data']
# Determine sender and receiver # Determine sender and receiver