Skip to content

Commit

Permalink
apply changes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
FedorLap2006 committed Jul 7, 2024
1 parent aa9dacf commit 991c4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wsapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ func (s *Session) RequestGuildMembersBatchList(guildIDs []string, userIDs []stri
return
}

// SendRawGatewayMessage allows for sending raw gateway messages untouched by discordgo.
func (s *Session) SendRawGatewayMessage(data interface{}) (err error) {
// GatewayWriteStruct allows for sending raw gateway structs over the gateway.
func (s *Session) GatewayWriteStruct(data interface{}) (err error) {
s.RLock()
defer s.RUnlock()
if s.wsConn == nil {
Expand Down

0 comments on commit 991c4b6

Please sign in to comment.