Implement proper version command

This commit is contained in:
eleksir
2025-05-27 22:09:56 +03:00
parent f9dd1acc45
commit 0ed74ed812
5 changed files with 73 additions and 5 deletions

View File

@@ -121,8 +121,8 @@ func (j *Jabber) ParseEvent(e interface{}) { //nolint:maintidx,gocognit,gocyclo
if id, err := j.Talk.IqVersionResponse(
v,
"buny-jabber-bot",
"1.dev",
j.C.ExeName,
j.C.Version,
(strings.SplitN(runtime.GOOS, "/", 2))[0],
); err != nil {
err := fmt.Errorf(