class MemberToggles
extends ToggleBitfield
Re-export
import { MemberToggles } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";
Constructors
new
MemberToggles(memberOrTogglesInt: Partial<DiscordMember> | number)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.