discord-php / DiscordPHP

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

Fix Guild::$fillable repository order, add CacheWrapper::sweep(), and some code corrections #1001

Closed SQKo closed 1 year ago

SQKo commented 1 year ago

Can be merged after review.

SQKo commented 1 year ago

Also removed permission_overwrites from Channel::getUpdateableAttributes() as it may require other permission.

Creating channel with permission overwrites will continue to work, it can be updated with setOverwrite() method

Also fixed some updateable attributes according to its type