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

x/natico/examples/deps.ts>getRoles

A powerful and customizable framework for Discordeno
Latest
function getRoles
import { getRoles } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.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