Table of Contents

Class RoleConnection

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents the connection object that the user has attached.

public class RoleConnection
Inheritance
RoleConnection
Inherited Members

Properties

Metadata

Gets the object mapping RoleConnectionMetadata keys to their string-ified values.

public IReadOnlyDictionary<string, string> Metadata { get; }

Property Value

IReadOnlyDictionary<string, string>

PlatformName

Gets the vanity name of the platform a bot has connected to.

public string PlatformName { get; }

Property Value

string

PlatformUsername

Gets the username on the platform a bot has connected to.

public string PlatformUsername { get; }

Property Value

string

Methods

ToRoleConnectionProperties()

Initializes a new RoleConnectionProperties with the data from this object.

public RoleConnectionProperties ToRoleConnectionProperties()

Returns

RoleConnectionProperties