summaryrefslogtreecommitdiff |
path: root/jh-discord.py
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-03-13 19:52:58 +0100 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-03-13 19:52:58 +0100 |
commit | f29355768dfaee55d6c7ab53b9f79e7d3647ae64 (patch) | |
tree | eee0764276e57bbdb0f115c980b35f41417775f7 /jh-discord.py | |
parent | 060ad955210572d5869807dad5f02dc7615a89b5 (diff) |
...
Diffstat (limited to 'jh-discord.py')
-rw-r--r-- | jh-discord.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jh-discord.py b/jh-discord.py index d9b25ad..4d27b5a 100644 --- a/jh-discord.py +++ b/jh-discord.py @@ -97,7 +97,7 @@ async def on_message(message): has_lock = False try: - msg = bytes(message.clean_content.replace('\n', ' '), "utf8") + msg = bytes(message.clean_content.replace('\n', ' '), "utf8", 'strict') server_mutex.acquire() has_lock = True |