Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/src/structures/guild/Member.ts>default#addRole

A Deno library to interface with the Discord API
Latest
method default.prototype.addRole
import { default } from "https://deno.land/x/aether@v0.0.3/src/structures/guild/Member.ts";

Method to add a role to the user

Parameters

roleID: string

ID of the role

Returns

Promise<void>

Promise