Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/src/structures/User.ts>default

A Deno library to interface with the Discord API
Latest
class default
extends Base
import { default } from "https://deno.land/x/aether@v0.0.3/src/structures/User.ts";

Constructors

new
default(data: any, client: Client)

Properties

avatar: string

Avatar hash of the user

readonly
avatarURL: string

Getter to get the avatar URL of the user

bot: boolean

Whether the user is a bot

discriminator: string

Discriminator of the user

locale: string

Locale of the user

mfaEnabled: boolean

Whether the user has MFA enabled

system: boolean

Whether the user is a system (Discord)

readonly
tag: string

Getter to get the complete tag of the user

username: string

Username of the user

Methods

send(content: MessageContent | string | MessageEmbed): Promise<Message>

Method to DM the user