TeamMember

class TeamMember(val data: TeamMemberData, val kord: Kord)(source)

A member of a Discord developer team.

Constructors

Link copied to clipboard
constructor(data: TeamMemberData, kord: Kord)

Properties

Link copied to clipboard
Link copied to clipboard
val kord: Kord
Link copied to clipboard

An enumeration representing the membership state of this user.

Link copied to clipboard

Role of the team member.

Link copied to clipboard

The unique ID that this member belongs to.

Link copied to clipboard

The ID of the user this member represents.

Functions

Link copied to clipboard
suspend fun getUser(): User?

Utility method that gets the user from Kord.

Link copied to clipboard
open override fun toString(): String