shuppet / raku-api-discord

Raku module for interacting with the Discord API.
https://shuppet.com
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Make API::Discord::Permissions an implied extension of API::Discord::Member #53

Open kawaii opened 4 years ago

kawaii commented 4 years ago

Currently if you want to do stuff with member permissions you must explicitly specify use API::Discord::Permissions; in your code which seems awfully inconvenient for a feature that the majority of bots will actually want to use.

I suggest we make it an extension of API::Discord::Member, as permissions never apply to user objects, only members.