Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denocordts/src/http/endpoints.ts>registerGuildSlashCommands

An Object Oriented Discord API wrapper for Deno.
Latest
function registerGuildSlashCommands
import { registerGuildSlashCommands } from "https://deno.land/x/denocordts@1.2.0/src/http/endpoints.ts";

Parameters

commands: (SlashCommand | ContextMenu)[]
clientId: Snowflake
guildId: Snowflake