summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-27 19:58:35 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-05-27 19:58:35 +0200
commitc07c8e644806d9a0b50e4fdd6a682a012bd8b89d (patch)
treedb74f60ab1d537dd236f3bb56c8e9037b52156cf /src/main.rs
parent71ee333b5db4dab7c04732b889ab76d16e467319 (diff)
downloadtexmodbot-c07c8e644806d9a0b50e4fdd6a682a012bd8b89d.tar.xz
Send ready
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7d34846..53674d0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -167,6 +167,18 @@ impl Conn {
})
.await
.unwrap();
+
+ self.tx
+ .send(&ToSrvPkt::CltReady {
+ major: 0,
+ minor: 1,
+ patch: 0,
+ reserved: 0,
+ version: "https://github.com/LizzyFleckenstein03/texmodbot".into(),
+ formspec: 4,
+ })
+ .await
+ .unwrap();
}
_ => {}
}