Skip to main content
Module

x/denocordts/mod.ts>Client

An Object Oriented Discord API wrapper for Deno.
Latest
class Client
extends Base
import { Client } from "https://deno.land/x/denocordts@1.2.0/mod.ts";

Constructors

new
Client(options: ClientOptions)

Methods

checkMemberPermission(unnamed 0: { member: APIInteractionGuildMember; permission: keyof PermissionBits; })
registerGuildSlashCommands(unnamed 0: { guildId: string; commands: (SlashCommand | ContextMenu)[]; })
updatePresence(presenceObject: { activities: { name: string; type: keyof ActivityType; url?: string; }[]; afk?: boolean; status?: keyof PresenceUpdateStatus; since?: number; }): void