Skip to content

Update Permissions to include newly documented thread permissions

Mateusz Brawański requested to merge github/fork/Lulalaby/patch-1 into master

Created by: Lulalaby

Summary

Implements the following permissions to DSharpPlus.Permissions:

  • MANAGE_THREADS
  • USE_PUBLIC_THREADS
  • USE_PRIVATE_THREADS

Details

Adds the following permissions to the Permissions enum.

  • ManageThreads
  • UsePublicThreads
  • UsePrivateThreads

Changes proposed

  • Add Permissions.ManageThreads with a value of 0x0000000400000000

  • Add Permissions.UsePublicThreads with a value of 0x0000000800000000

  • Add Permissions.UsePrivateThreads with a value of 0x0000001000000000

  • Modify the FULL_PERMS and All values to the result of the old All value and all new values resulting to a new value of 128849018879

Merge request reports

Loading