diff --git a/restapi.go b/restapi.go index d0c10fca6..7f2a4a8ac 100644 --- a/restapi.go +++ b/restapi.go @@ -1810,6 +1810,7 @@ func (s *Session) ChannelMessageEditComplex(m *MessageEdit, options ...RequestOp } } } + endpoint := EndpointChannelMessage(m.Channel, m.ID) var response []byte