Skip to content

Small helper function to check if a user has a role.

Mateusz Brawański requested to merge github/fork/SubstituteR/master into master

Created by: SubstituteR

Summary

Allows for a bot developer to check if a DiscordMember has a specified DiscordRole.

Details

Relatively small addition, could be useful for bots that need to check against roles, or grant them under certain circumstances.

Changes proposed

  • Add HasRole

Merge request reports

Loading