diff --git a/README.md b/README.md index d526d35..cb5a665 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Construct a new Discord client which can be used to access the variety of Discord API functions and to set callback functions for Discord events. ```go -discord, err := discordgo.New("authentication token") +discord, err := discordgo.New("Bot " + "authentication token") ``` See Documentation and Examples below for more detailed information. diff --git a/structs.go b/structs.go index 4465ec5..c643bd5 100644 --- a/structs.go +++ b/structs.go @@ -872,6 +872,7 @@ const ( PermissionVoiceDeafenMembers PermissionVoiceMoveMembers PermissionVoiceUseVAD + PermissionVoicePrioritySpeaker = 1 << (iota + 2) ) // Constants for general management. @@ -907,7 +908,8 @@ const ( PermissionVoiceMuteMembers | PermissionVoiceDeafenMembers | PermissionVoiceMoveMembers | - PermissionVoiceUseVAD + PermissionVoiceUseVAD | + PermissionVoicePrioritySpeaker PermissionAllChannel = PermissionAllText | PermissionAllVoice | PermissionCreateInstantInvite |