import { Client } from "https://deno.land/x/harmony@v2.8.0/src/client/mod.ts";
Harmony Client. Provides high-level interface over the REST and WebSocket API.
Constructors
Properties
Cache Adapter
Channels Manager, providing cache interface to Channels
Client Properties
Collectors set
Channels Manager, providing cache interface to Channels
Get Shard 0's Gateway
Guilds Manager, providing cache & API interface to Guilds
Gateway Intents
Interactions Client
Client's presence. Startup one if set before connecting
REST Manager - used to make all requests
Shard Manager of this Client if Sharded
Stickers Manager, providing cache interface to (Guild) Stickers and API interfacing
Last READY timestamp
User which Client logs in to, undefined until logs in
Users Manager, containing all Users cached
Voice Connections Manager
Methods
Add a new Collector
This function is used for connecting to discord.
Creates an OAuth2 URL
Emits debug event
Modify current (Client) User.
Fetch Application of the Client
Fetch an Invite
Returns a template object for the given code.
Returns an array of voice region objects that can be used when creating servers.
Remove a Collector
Sets Cache Adapter
Should NOT be set after bot is already logged in or using current cache.
Please look into using cache
option.
Changes Presence of Client
Change Username of the Client User