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.8 kB

9 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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("system_channel_id")]
  28. public ulong? SystemChannelId { get; set; }
  29. [JsonProperty("verification_level")]
  30. public VerificationLevel VerificationLevel { get; set; }
  31. [JsonProperty("voice_states")]
  32. public VoiceState[] VoiceStates { get; set; }
  33. [JsonProperty("roles")]
  34. public Role[] Roles { get; set; }
  35. [JsonProperty("emojis")]
  36. public Emoji[] Emojis { get; set; }
  37. [JsonProperty("features")]
  38. public string[] Features { get; set; }
  39. [JsonProperty("mfa_level")]
  40. public MfaLevel MfaLevel { get; set; }
  41. [JsonProperty("default_message_notifications")]
  42. public DefaultMessageNotifications DefaultMessageNotifications { get; set; }
  43. [JsonProperty("explicit_content_filter")]
  44. public ExplicitContentFilterLevel ExplicitContentFilter { get; set; }
  45. }
  46. }