Interface IGuildIntegration
Holds information for a guild integration feature.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IGuildIntegration
Properties
| Improve this Doc View SourceAccount
Gets integration account information.
Declaration
IntegrationAccount Account { get; }
Property Value
| Type | Description |
|---|---|
| IntegrationAccount |
ExpireBehavior
Gets the ID that this integration uses for "subscribers".
Declaration
ulong ExpireBehavior { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
ExpireGracePeriod
Gets the grace period before expiring "subscribers".
Declaration
ulong ExpireGracePeriod { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
Guild
Declaration
IGuild Guild { get; }
Property Value
| Type | Description |
|---|---|
| IGuild |
GuildId
Declaration
ulong GuildId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
Id
Gets the integration ID.
Declaration
ulong Id { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 | An System.UInt64 representing the unique identifier value of this integration. |
IsEnabled
Gets a value that indicates whether this integration is enabled or not.
Declaration
bool IsEnabled { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
IsSyncing
Gets a value that indicates whether this integration is syncing or not.
Declaration
bool IsSyncing { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Remarks
An integration with syncing enabled will update its "subscribers" on an interval, while one with syncing disabled will not. A user must manually choose when sync the integration if syncing is disabled.
Name
Gets the integration name.
Declaration
string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the name of this integration. |
RoleId
Declaration
ulong RoleId { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
SyncedAt
Gets when this integration was last synced.
Declaration
DateTimeOffset SyncedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTimeOffset | A System.DateTimeOffset containing a date and time of day when the integration was last synced. |
Type
Gets the integration type (Twitch, YouTube, etc).
Declaration
string Type { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the name of the type of integration. |
User
Declaration
IUser User { get; }
Property Value
| Type | Description |
|---|---|
| IUser |