API reference
Class DiscordGameDynamicField
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
A custom game-stat field, retaining its JSON value for future field types.
public sealed class DiscordGameDynamicField
- Inheritance
-
DiscordGameDynamicField
- Inherited Members
Properties
- Name
Gets or sets the field's data key.
- Type
Gets or sets the Discord field type: 1 for string, 2 for number, or 3 for media.
Methods
- Media(string, string)
Creates a custom image statistic.
- Number(string, double)
Creates a custom numeric statistic.
- String(string, string)
Creates a custom text statistic.