Module

x/discordeno/transformers/mod.ts>MemberToggles

Discord API library for Deno
Latest
class MemberToggles
import { MemberToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/transformers/mod.ts";

Constructors

new
MemberToggles(memberOrTogglesInt: Partial<DiscordMember> | number)

Properties

readonly
deaf

Whether the user belongs to an OAuth2 application

readonly
mute

Whether the user is muted in voice channels

readonly
pending

Whether the user has not yet passed the guild's Membership Screening requirements

Methods

Checks whether or not the permissions exist in this

Lists all the toggles for the role and whether or not each is true or false.

import MemberToggles
import { MemberToggles } from "https://dotland.deno.dev/x/discordeno@18.0.1/transformers/mod.ts";