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

x/oasis/packages/deps.ts>getRoles

An object oriented Discordeno framework
Latest
function getRoles
import { getRoles } from "https://deno.land/x/oasis@2.1.0/packages/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