Jelajahi Sumber

darkirc: Fix a typo in meetbot

parazyd 1 tahun lalu
induk
melakukan
6554216979
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      bin/darkirc/script/bots/meetbot/meetbot.py

+ 1 - 1
bin/darkirc/script/bots/meetbot/meetbot.py

@@ -132,7 +132,7 @@ async def main(debug=False):
                     await writer.drain()
 
                     for i, topic in enumerate(topics):
-                        reply = f"PRIVMSG {chan} :{i+1}. {topic}\e\n"
+                        reply = f"PRIVMSG {chan} :{i+1}. {topic}\r\n"
                         writer.write(reply.encode("utf-8"))
                         await writer.drain()