WHO ourselves on 001 to get our realname
This commit is contained in:
parent
9f832df2f1
commit
85ee8e95e0
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class Server(IServer):
|
||||||
|
|
||||||
async def _on_read_emit(self, line: Line, emit: Emit):
|
async def _on_read_emit(self, line: Line, emit: Emit):
|
||||||
if emit.command == "001":
|
if emit.command == "001":
|
||||||
|
await self.send(build("WHO", [self.nickname]))
|
||||||
self.set_throttle(THROTTLE_RATE, THROTTLE_TIME)
|
self.set_throttle(THROTTLE_RATE, THROTTLE_TIME)
|
||||||
|
|
||||||
elif emit.command == "CAP":
|
elif emit.command == "CAP":
|
||||||
|
|
Loading…
Reference in a new issue