twilight icon indicating copy to clipboard operation
twilight copied to clipboard

fix(cache): ResourceType::GUILD required for other resources

Open itohatweb opened this issue 2 years ago • 3 comments

Closes: #1553

itohatweb avatar Mar 19 '22 21:03 itohatweb

not the best place to suggest this but how about separating GUILDS to ROLES, NICKS etc?

laralove143 avatar Mar 25 '22 18:03 laralove143

not the best place to suggest this but how about separating GUILDS to ROLES, NICKS etc?

For roles we already have the ROLE resource type and nicknames should be covered by the MEMBERS one.

itohatweb avatar Mar 26 '22 12:03 itohatweb

This PR should include a review of documentation stating that ResourceType::GUILD is required (For example, InMemoryCachePermissions::in_channel requires ResourceType::GUILD for checking if user_id is the owner, but functions otherwise)

vilgotf avatar Jun 08 '22 13:06 vilgotf