summaryrefslogtreecommitdiff |
path: root/jh-discord.py
diff options
Diffstat (limited to 'jh-discord.py')
-rw-r--r-- | jh-discord.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jh-discord.py b/jh-discord.py index c377175..a193568 100644 --- a/jh-discord.py +++ b/jh-discord.py @@ -79,7 +79,12 @@ async def on_message(message): if (message.author.id == client.user.id): return - server.sendall(b"?RLR " + bytes(message.content, "utf8") + b"\n") + server.sendall( + b"?RLR " + + bytes(message.content.replace('\n', ' '), "utf8") + + b"\n" + ) + result = get_jh_reply() if (args.print_chat): |