Skip to main content
Latest
function getRoles
import { getRoles } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/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