Skip to main content
Module

x/aether/mod.ts>Client

A Deno library to interface with the Discord API
Go to Latest
class Client
extends EventEmitter
import { Client } from "https://deno.land/x/aether@v0.0.1-beta/mod.ts";

Constructors

new
Client(token: string, options: ClientOptions)

Properties

private
options: ClientOptions
channels: Collection<Channel>
guilds: Collection<Guild>
rest: REST
secureDataStore: SecureDataStore
shard: Shard
user: User
users: Collection<User>

Methods

on(ev: ClientEvents, fn: GenericFunction | WrappedFunction)