Spelling.

This commit is contained in:
Bruce Marriner 2016-01-27 23:31:43 -06:00
parent 9a63e50e22
commit 9c5cd00d34
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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