class MemberToggles
extends ToggleBitfield
Re-export
import { MemberToggles } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";
Constructors
new
MemberToggles(member: Partial<DiscordMember>)Methods
has(permissions: MemberToggleKeys | MemberToggleKeys[])
Checks whether or not the permissions exist in this
list()
Lists all the toggles for the role and whether or not each is true or false.