Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aether/mod.ts>User

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

Constructors

new
User(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