22 lines
482 B
C#
22 lines
482 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Maki.Structures.Guilds
|
|
{
|
|
/// <summary>
|
|
/// Discord API Gulld Widget structure
|
|
/// </summary>
|
|
internal struct GuildWidget
|
|
{
|
|
/// <summary>
|
|
/// if the embed is enabled
|
|
/// </summary>
|
|
[JsonProperty("enabled")]
|
|
public bool IsEnabled;
|
|
|
|
/// <summary>
|
|
/// the embed channel id
|
|
/// </summary>
|
|
[JsonProperty("channel_id")]
|
|
public ulong ChannelId;
|
|
}
|
|
}
|