Class DiscordGuildTemplate
Represents a guild template.
Inheritance
System.Object
DiscordGuildTemplate
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordGuildTemplate
Properties
| Improve this Doc View SourceCode
Gets the template code.
Declaration
public string Code { get; }
Property Value
Type | Description |
---|---|
System.String |
CreatedAt
Date the template was created.
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Creator
Gets the creator of the template.
Declaration
public DiscordUser Creator { get; }
Property Value
Type | Description |
---|---|
DiscordUser |
CreatorId
Gets the ID of the creator of the template.
Declaration
public ulong CreatorId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Description
Gets the description of the template.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
IsDirty
Gets whether the template has unsynced changes.
Declaration
public bool? IsDirty { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
IsUnsynced
Gets whether the template has unsynced changes.
Declaration
public bool? IsUnsynced { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Remarks
| Improve this Doc View SourceName
Gets the name of the template.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
SourceGuild
Gets the source guild.
Declaration
public DiscordGuild SourceGuild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
SourceGuildId
Gets the ID of the source guild.
Declaration
public ulong SourceGuildId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
UpdatedAt
Date the template was updated.
Declaration
public DateTimeOffset UpdatedAt { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
UsageCount
Gets the number of times the template has been used.
Declaration
public int UsageCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |