Skip to main content
Module

x/discordeno/mod.ts>getRoles

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

Returns a list of role objects for the guild.

⚠️ If you need this, you are probably doing something wrong. This is not intended for use. Your roles will be cached in your guild.

Parameters

bot: Bot
guildId: bigint