Reenabled message logging
This commit is contained in:
parent
5faabd0792
commit
9626047cc6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user