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

x/oasis/packages/deps.ts>addRole

An object oriented Discordeno framework
Latest
function addRole
import { addRole } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Add a role to the member

Parameters

bot: Bot
guildId: bigint
memberId: bigint
roleId: bigint
optional
reason: string