diff --git a/tg-test.py b/tg-test.py index 4750920..e9ce991 100644 --- a/tg-test.py +++ b/tg-test.py @@ -42,7 +42,7 @@ def on_msg_receive(msg): else: # chatroom peer = msg.dest - print(msg) + pp.pprint(msg) if msg.text.startswith("!ping"): print("SENDING PONG") tgl.send_msg(peer, "PONG!", msg_cb)