Spelling.
This commit is contained in:
parent
9a63e50e22
commit
9c5cd00d34
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
// This file contains all structures for the discordgo package. These
|
// 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.
|
// them all located together.
|
||||||
|
|
||||||
package discordgo
|
package discordgo
|
||||||
|
|
4
voice.go
4
voice.go
|
@ -121,7 +121,7 @@ func (v *Voice) Close() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// wsListen listens on the voice websocket for messages and passes them
|
// 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() {
|
func (v *Voice) wsListen() {
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
@ -338,7 +338,7 @@ func (v *Voice) udpOpen() (err error) {
|
||||||
ip += string(rb[i])
|
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])
|
port := binary.LittleEndian.Uint16(rb[68:70])
|
||||||
|
|
||||||
// Take the data from above and send it back to Discord to finalize
|
// Take the data from above and send it back to Discord to finalize
|
||||||
|
|
Loading…
Reference in a new issue