diff --git a/main.py b/main.py index eab022c..9acc9e9 100644 --- a/main.py +++ b/main.py @@ -101,7 +101,7 @@ class Server(BaseServer): for npn in NOPING: offset = 1 for loc in find_all_indexes(text.lower(), npn.lower()): - text = text[: loc + offset] + "\u200c" + text[loc + offset :] + text = text[: loc + offset] + "\u200b" + text[loc + offset :] offset += 1 for server in self.bot.servers: @@ -133,7 +133,7 @@ class Server(BaseServer): return for c in self.chans_actual: # if c != chan: - s = f"\x0f\x0f\x0f\x0f<{nick[:1]}\u200c{nick[1:]}/{name}" + s = f"\x0f\x0f\x0f\x0f<{nick[:1]}\u200b{nick[1:]}/{name}" if not hide: s += f"{chan}" s += f"> {msg}"