import { OasisClient } from "https://deno.land/x/oasis@2.1.0/packages/builders/client/Client.ts";
Constructors
new
OasisClient(events?: Partial<EventHandlers>)Methods
addIntent(intents: GatewayIntents): this
Adds intents to the bot's instance
addIntents(intents: Array<keyof GatewayIntents> | Array<GatewayIntents>): this
Adds multiple intents via `setIntent``
defineEvent(name: keyof EventHandlers, fn: EventHandlers[name])
Defines an event
setId(id: bigint): this
Optionally set the bot's id
setToken(token: string): this