Implement permission changes
Created by: Lulalaby
Update Permissions to include newly documented Permission
Summary
Implements the following permissions to DSharpPlus.Permissions
:
SEND_MESSAGES_IN_THREADS
-
CREATE_PUBLIC_THREADS
(ReplacesUSE_PUBLIC_THREADS
) -
CREATE_PRIVATE_THREADS
(ReplacesUSE_PRIVATE_THREADS
) -
USE_APPLICATION_COMMANDS
(ReplacesUSE_SLASH_COMMANDS
)
Details
Adds the following permissions to the Permissions
enum.
SendMessagesInThreads
CreatePublicThreads
CreatePrivateThreads
UseApplicationCommands
Marked the following permissions as obsolete:
UsePublicThreads
UsePrivateThreads
UseSlashCommands
Changes proposed
-
Add
Permissions.SendMessagesInThreads
with a value of0x0000004000000000
-
Modify the
FULL_PERMS
andAll
values to the result of the oldAll
value and all new values resulting to a new value of549755813887