Bruce Marriner il y a 9 ans
Parent
commit
9c5cd00d34
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      structs.go
  2. 2 2
      voice.go

+ 1 - 1
structs.go

@@ -6,7 +6,7 @@
 // license that can be found in the LICENSE file.
 
 // This file contains all structures for the discordgo package.  These
-// may be moved about later into seperate files but I find it easier to have
+// may be moved about later into separate files but I find it easier to have
 // them all located together.
 
 package discordgo

+ 2 - 2
voice.go

@@ -121,7 +121,7 @@ func (v *Voice) Close() {
 }
 
 // wsListen listens on the voice websocket for messages and passes them
-// to the voice event handler.  This is automaticly called by the Open func
+// to the voice event handler.  This is automatically called by the Open func
 func (v *Voice) wsListen() {
 
 	for {
@@ -338,7 +338,7 @@ func (v *Voice) udpOpen() (err error) {
 		ip += string(rb[i])
 	}
 
-	// Grab port from postion 68 and 69
+	// Grab port from position 68 and 69
 	port := binary.LittleEndian.Uint16(rb[68:70])
 
 	// Take the data from above and send it back to Discord to finalize