Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discordeno/plugins/helpers/deps.ts>deleteRole

Discord API library for Deno
Extremely Popular
Go to Latest
function deleteRole
import { deleteRole } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/helpers/deps.ts";

Delete a guild role. Requires the MANAGE_ROLES permission.

Parameters

bot: Bot
guildId: bigint
id: bigint