You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.6 KiB
65 lines
2.6 KiB
4 years ago
|
#pragma warning disable CS1591
|
||
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Discord.API
|
||
|
{
|
||
|
internal class Guild
|
||
|
{
|
||
|
[JsonProperty("id")]
|
||
|
public ulong Id { get; set; }
|
||
|
[JsonProperty("name")]
|
||
|
public string Name { get; set; }
|
||
|
[JsonProperty("icon")]
|
||
|
public string Icon { get; set; }
|
||
|
[JsonProperty("splash")]
|
||
|
public string Splash { get; set; }
|
||
|
[JsonProperty("owner_id")]
|
||
|
public ulong OwnerId { get; set; }
|
||
|
[JsonProperty("region")]
|
||
|
public string Region { get; set; }
|
||
|
[JsonProperty("afk_channel_id")]
|
||
|
public ulong? AFKChannelId { get; set; }
|
||
|
[JsonProperty("afk_timeout")]
|
||
|
public int AFKTimeout { get; set; }
|
||
|
[JsonProperty("embed_enabled")]
|
||
|
public bool EmbedEnabled { get; set; }
|
||
|
[JsonProperty("embed_channel_id")]
|
||
|
public ulong? EmbedChannelId { get; set; }
|
||
|
[JsonProperty("verification_level")]
|
||
|
public VerificationLevel VerificationLevel { get; set; }
|
||
|
[JsonProperty("default_message_notifications")]
|
||
|
public DefaultMessageNotifications DefaultMessageNotifications { get; set; }
|
||
|
[JsonProperty("explicit_content_filter")]
|
||
|
public ExplicitContentFilterLevel ExplicitContentFilter { get; set; }
|
||
|
[JsonProperty("voice_states")]
|
||
|
public VoiceState[] VoiceStates { get; set; }
|
||
|
[JsonProperty("roles")]
|
||
|
public Role[] Roles { get; set; }
|
||
|
[JsonProperty("emojis")]
|
||
|
public Emoji[] Emojis { get; set; }
|
||
|
[JsonProperty("features")]
|
||
|
public string[] Features { get; set; }
|
||
|
[JsonProperty("mfa_level")]
|
||
|
public MfaLevel MfaLevel { get; set; }
|
||
|
[JsonProperty("application_id")]
|
||
|
public ulong? ApplicationId { get; set; }
|
||
|
[JsonProperty("system_channel_id")]
|
||
|
public ulong? SystemChannelId { get; set; }
|
||
|
[JsonProperty("premium_tier")]
|
||
|
public PremiumTier PremiumTier { get; set; }
|
||
|
[JsonProperty("vanity_url_code")]
|
||
|
public string VanityURLCode { get; set; }
|
||
|
[JsonProperty("banner")]
|
||
|
public string Banner { get; set; }
|
||
|
[JsonProperty("description")]
|
||
|
public string Description { get; set; }
|
||
|
// this value is inverted, flags set will turn OFF features
|
||
|
[JsonProperty("system_channel_flags")]
|
||
|
public SystemChannelMessageDeny SystemChannelFlags { get; set; }
|
||
|
[JsonProperty("premium_subscription_count")]
|
||
|
public int? PremiumSubscriptionCount { get; set; }
|
||
|
[JsonProperty("preferred_locale")]
|
||
|
public string PreferredLocale { get; set; }
|
||
|
}
|
||
|
}
|