class Client
extends Base
import { Client } from "https://deno.land/x/denocordts@1.2.0/src/client/client.ts";
Constructors
new
Client(options: ClientOptions)Methods
checkMemberPermission(unnamed 0: { member: APIInteractionGuildMember; permission: keyof PermissionBits; })
registerGlobalSlashCommands(commands: (SlashCommand | ContextMenu)[])
registerGuildSlashCommands(unnamed 0: { guildId: string; commands: (SlashCommand | ContextMenu)[]; })
deprecated
setPresence(presence: GatewayPresenceUpdateData)updatePresence(presenceObject: { activities: { name: string; type: keyof ActivityType; url?: string; }[]; afk?: boolean; status?: keyof PresenceUpdateStatus; since?: number; }): void