Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/harmony/src/interactions/mod.ts>SlashCommandPermissionsManager#set

An easy to use Discord API Library for Deno.
Latest
method SlashCommandPermissionsManager.prototype.set
import { SlashCommandPermissionsManager } from "https://deno.land/x/harmony@v2.9.1/src/interactions/mod.ts";

Sets permissions of a Slash Command in a Guild

Parameters

cmd: string | ApplicationCommand
guild: Guild | string