Skip to main content
Module

x/harmony/mod.ts>SlashCommand#setPermissions

An easy to use Discord API Library for Deno.
Go to Latest
method SlashCommand.prototype.setPermissions
import { SlashCommand } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Parameters

data: ApplicationCommandPermission[]
optional
guild: Guild | string

Returns

Promise<GuildApplicationCommandPermissions>