Skip to content

Commit

Permalink
Add PermissionSetVoiceChannelStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Aug 28, 2023
1 parent cdef17e commit aa8eec1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion discord/permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const (
_
PermissionUseExternalSounds
PermissionSendVoiceMessages
_
PermissionSetVoiceChannelStatus

PermissionsAllText = PermissionViewChannel |
PermissionSendMessages |
Expand Down Expand Up @@ -91,7 +93,8 @@ const (
PermissionUseSoundboard |
PermissionUseExternalSounds |
PermissionRequestToSpeak |
PermissionUseEmbeddedActivities
PermissionUseEmbeddedActivities |
PermissionSetVoiceChannelStatus

PermissionsAllChannel = PermissionsAllText |
PermissionsAllThread |
Expand Down Expand Up @@ -168,6 +171,7 @@ var permissions = map[Permissions]string{
PermissionStream: "Video",
PermissionViewGuildInsights: "View Server Insights",
PermissionSendVoiceMessages: "Send Voice Messages",
PermissionSetVoiceChannelStatus: "Set Voice Channel Status",
}

func (p Permissions) String() string {
Expand Down

0 comments on commit aa8eec1

Please sign in to comment.