Versions in this module Expand all Collapse all v1 v1.2.0 May 29, 2020 Changes in this version + const PermissionAdministrator + const PermissionModerator + func RemoveFromCache(userID string) + type Permission int + type User struct + DiscordID string + ID primitive.ObjectID + Permissions int + func Retrieve(userID string) (*User, error) + func RetrieveCached(userID string) (*User, error) + func (user *User) GrantPermission(permission Permission) + func (user *User) HasPermission(permissions ...Permission) bool + func (user *User) RevokePermission(permission Permission) + func (user *User) Update() error