Skip to main content

Interface IGuildIntegration

Holds information for a guild integration feature.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IGuildIntegration

Properties​

Id​

Gets the integration ID.

View Source​
Declaration
ulong Id { get; }

Name​

Gets the integration name.

View Source​
Declaration
string Name { get; }

Type​

Gets the integration type (Twitch, YouTube, etc).

View Source​
Declaration
string Type { get; }

IsEnabled​

Gets a value that indicates whether this integration is enabled or not.

View Source​
Declaration
bool IsEnabled { get; }

IsSyncing​

Gets a value that indicates whether this integration is syncing or not.

View Source​
Declaration
bool IsSyncing { get; }

ExpireBehavior​

Gets the ID that this integration uses for "subscribers".

View Source​
Declaration
ulong ExpireBehavior { get; }

ExpireGracePeriod​

Gets the grace period before expiring "subscribers".

View Source​
Declaration
ulong ExpireGracePeriod { get; }

SyncedAt​

Gets when this integration was last synced.

View Source​
Declaration
DateTimeOffset SyncedAt { get; }

Account​

Gets integration account information.

View Source​
Declaration
IntegrationAccount Account { get; }

Guild​

View Source​
Declaration
IGuild Guild { get; }

GuildId​

View Source​
Declaration
ulong GuildId { get; }

RoleId​

View Source​
Declaration
ulong RoleId { get; }

User​

View Source​
Declaration
IUser User { get; }