From f0e6395a3e6fb91d1ac64b73297a25731a0f220f Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sun, 30 Jun 2024 02:51:40 +0900 Subject: [PATCH] library: rpc: fix SET_ACTIVITY response type Had a bad response type, did not affect usage with arRPC, however did not work with proper Discord RPC. Signed-off-by: Ophestra Umiker --- activity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activity.go b/activity.go index abd1940..1308a37 100644 --- a/activity.go +++ b/activity.go @@ -69,7 +69,7 @@ func (d *Client) SetActivity(act *Activity) (string, error) { nonce := uuid.New().String() - _, _, err := validateRaw[Response[[]byte]](Heartbeat, "", "SET_ACTIVITY", nonce)( + _, _, err := validateRaw[Response[any]](Heartbeat, "", "SET_ACTIVITY", nonce)( d, Heartbeat, Command[activityArgs]{ Arguments: activityArgs{ PID: os.Getpid(),