discord-php / DiscordPHP

An API to interact with the popular messaging app Discord
MIT License
977 stars 236 forks source link

Add CREATE_EVENTS permission #1154

Closed jocafamaka closed 5 months ago

jocafamaka commented 1 year ago

New permission CREATE_EVENTS not yet documented but already out.

Discussion:

SQKo commented 1 year ago

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

key2peace commented 10 months ago

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

SQKo commented 10 months ago

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

jocafamaka commented 7 months ago

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