From 85ee8e95e0a7fe08814c11a732f18a3325c103f3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 9 Apr 2020 11:09:44 +0100 Subject: [PATCH] WHO ourselves on 001 to get our realname --- ircrobots/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ircrobots/server.py b/ircrobots/server.py index 01e8c4c..4774c52 100644 --- a/ircrobots/server.py +++ b/ircrobots/server.py @@ -79,6 +79,7 @@ class Server(IServer): async def _on_read_emit(self, line: Line, emit: Emit): if emit.command == "001": + await self.send(build("WHO", [self.nickname])) self.set_throttle(THROTTLE_RATE, THROTTLE_TIME) elif emit.command == "CAP":