DiscordPHP icon indicating copy to clipboard operation
DiscordPHP copied to clipboard

Add CREATE_EVENTS permission

Open jocafamaka opened this issue 1 year ago • 4 comments

New permission CREATE_EVENTS not yet documented but already out.

Discussion:

  • https://github.com/discord/discord-api-docs/issues/6298

jocafamaka avatar Jul 15 '23 14:07 jocafamaka

The create_events value is wrong, it is 44 not 43. Also please put in the correct order of the bits

SQKo avatar Jul 16 '23 05:07 SQKo

this link also talks about the requirement to add the x-super-properties header to your requests in order to support it, which is not present here

key2peace avatar Oct 08 '23 18:10 key2peace

this link also talks about the requirement to add the x-super-properties header to your requests in order to support it, which is not present here

That is not something the bot usually use, the header is sent by discord clients

SQKo avatar Oct 13 '23 15:10 SQKo

It appers the permissions requirements will not affect bots, but it still aply to roles and users.

https://github.com/discord/discord-api-docs/commit/8d9f1fb17458f7372c1a2c6b029e397483c8be2f

jocafamaka avatar Jan 09 '24 00:01 jocafamaka