import { Client } from "https://deno.land/x/higa@0.1.0-fix/mod.ts";
Constructors
new
Client(options: ClientOptions)Properties
readonly
applicationCommand: ApplicationCommandManagerApplication Command Manager to interact with the REST API
guildScheduledEvent: GuildScheduledEventManager
Guild Scheduled Event Manager to interact with the REST API
Methods
private
handleEvent<K extends keyof ClientEvents>(event: K, object: unknown)When a Gateway event is received, emit it to the client
private
intentsToNumber(intents: (keyof ClientIntents)[])Given a list of intents, return the number that represents them
setStatus(presence: GatewayPresenceUpdateData)
Interact with the Discord Gateway to add a Presence to the Bot User