update "text" key to "body"

This commit is contained in:
Guilhem Saurel
2021-07-31 11:21:29 +02:00
parent 8b32c972b8
commit 292d77274d
5 changed files with 39 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ def run_and_test():
srv.terminate()
# TODO Check what the bot says when the server is offline
# print(bot_req({'text': 'bye'}, KEY), {'status': 200, 'ret': 'OK'})
# print(bot_req({'data': 'bye'}, KEY), {'status': 200, 'ret': 'OK'})
LOGGER.info("Stopping the bot")
bot.terminate()