You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Guild.cs 1.9 kB

9 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #pragma warning disable CS1591
  2. using Newtonsoft.Json;
  3. namespace Discord.API
  4. {
  5. internal class Guild
  6. {
  7. [JsonProperty("id")]
  8. public ulong Id { get; set; }
  9. [JsonProperty("name")]
  10. public string Name { get; set; }
  11. [JsonProperty("icon")]
  12. public string Icon { get; set; }
  13. [JsonProperty("splash")]
  14. public string Splash { get; set; }
  15. [JsonProperty("owner_id")]
  16. public ulong OwnerId { get; set; }
  17. [JsonProperty("region")]
  18. public string Region { get; set; }
  19. [JsonProperty("afk_channel_id")]
  20. public ulong? AFKChannelId { get; set; }
  21. [JsonProperty("afk_timeout")]
  22. public int AFKTimeout { get; set; }
  23. [JsonProperty("embed_enabled")]
  24. public bool EmbedEnabled { get; set; }
  25. [JsonProperty("embed_channel_id")]
  26. public ulong? EmbedChannelId { get; set; }
  27. [JsonProperty("verification_level")]
  28. public VerificationLevel VerificationLevel { get; set; }
  29. [JsonProperty("default_message_notifications")]
  30. public DefaultMessageNotifications DefaultMessageNotifications { get; set; }
  31. [JsonProperty("explicit_content_filter")]
  32. public ExplicitContentFilterLevel ExplicitContentFilter { get; set; }
  33. [JsonProperty("voice_states")]
  34. public VoiceState[] VoiceStates { get; set; }
  35. [JsonProperty("roles")]
  36. public Role[] Roles { get; set; }
  37. [JsonProperty("emojis")]
  38. public Emoji[] Emojis { get; set; }
  39. [JsonProperty("features")]
  40. public string[] Features { get; set; }
  41. [JsonProperty("mfa_level")]
  42. public MfaLevel MfaLevel { get; set; }
  43. [JsonProperty("application_id")]
  44. public ulong? ApplicationId { get; set; }
  45. [JsonProperty("system_channel_id")]
  46. public ulong? SystemChannelId { get; set; }
  47. }
  48. }