clear up the ()uid reply.

previously '()uid forsen' would reply with only the twitch user id: '22484632'. now it replies with 'forsen=22484632'
This commit is contained in:
lyx0 2023-12-17 22:12:48 +01:00
parent 865e8eb94e
commit d521ace38e

View file

@ -23,5 +23,6 @@ func IDByUsername(username string) string {
responseList := make([]ivrIDByUsernameResponse, 0)
_ = json.NewDecoder(resp.Body).Decode(&responseList)
return responseList[0].ID
reply := fmt.Sprintf("%s=%s", username, responseList[0].ID)
return reply
}