Removed unused AutoMention, renamed VoiceOP2
This commit is contained in:
parent
e1e20260d3
commit
6e4f495f6a
1 changed files with 3 additions and 6 deletions
|
@ -13,9 +13,7 @@ package discordgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"net"
|
"net"
|
||||||
"strings"
|
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
@ -29,7 +27,6 @@ type Session struct {
|
||||||
// General configurable settings.
|
// General configurable settings.
|
||||||
Token string // Authentication token for this session
|
Token string // Authentication token for this session
|
||||||
Debug bool // Debug for printing JSON request/responses
|
Debug bool // Debug for printing JSON request/responses
|
||||||
AutoMention bool // if set to True, ChannelSendMessage will auto mention <@ID>
|
|
||||||
|
|
||||||
// Settable Callback functions for Websocket Events
|
// Settable Callback functions for Websocket Events
|
||||||
OnEvent func(*Session, Event) // should Event be *Event?
|
OnEvent func(*Session, Event) // should Event be *Event?
|
||||||
|
@ -85,7 +82,7 @@ type Session struct {
|
||||||
VEndpoint string
|
VEndpoint string
|
||||||
VGuildID string
|
VGuildID string
|
||||||
VChannelID string
|
VChannelID string
|
||||||
Vop2 VoiceOP2
|
Vop2 voiceOP2
|
||||||
UDPConn *net.UDPConn
|
UDPConn *net.UDPConn
|
||||||
|
|
||||||
// Managed state object, updated with events.
|
// Managed state object, updated with events.
|
||||||
|
|
Loading…
Reference in a new issue