Skip to main content
Module

x/natico/mod.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/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