From 9c5cd00d34ead4c27e996b7db0c73a66eddbf058 Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Wed, 27 Jan 2016 23:31:43 -0600 Subject: [PATCH] Spelling. --- structs.go | 2 +- voice.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/structs.go b/structs.go index 27b16e3..bd4a2b6 100644 --- a/structs.go +++ b/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 diff --git a/voice.go b/voice.go index 5791480..24f1773 100644 --- a/voice.go +++ b/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