Closed nauar closed 2 months ago
See error log:
[2024-08-27 19:23:22] [INFO ] discordconnection: [Discord] grunt4321: 1 2 3 4 5 6 6 [2024-08-27 19:23:22] [ERROR ] discord.client: Ignoring exception in on_message Traceback (most recent call last): File "/home/xxxxxxxxx/greedybot/venv/lib/python3.12/site-packages/discord/client.py", line 449, in _run_event await coro(*args, **kwargs) File "/home/xxxxxxxxx/greedybot/discordconnection.py", line 144, in on_message bot.ircconnect.send_my_message("<%s> %s" % (message.author.name, content)) File "/home/xxxxxxxxx/greedybot/ircconnection.py", line 28, in send_my_message self.connection.privmsg(self.settings["channel"], message.strip()) File "/home/xxxxxxxxx/greedybot/venv/lib/python3.12/site-packages/irc/client.py", line 631, in privmsg self.send_items('PRIVMSG', target, ':' + text) File "/home/xxxxxxxxx/greedybot/venv/lib/python3.12/site-packages/irc/client.py", line 662, in send_items self.send_raw(' '.join(filter(None, items))) File "/home/xxxxxxxxx/greedybot/venv/lib/python3.12/site-packages/irc/client.py", line 673, in send_raw sender(self._prep_message(string)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/xxxxxxxxx/greedybot/venv/lib/python3.12/site-packages/irc/client.py", line 649, in _prep_message raise InvalidCharacters(msg) irc.client.InvalidCharacters: Carriage returns not allowed in privmsg(text)
See error log: