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.

Presence.cs 612 B

12345678910111213141516171819202122
  1. #pragma warning disable CS1591
  2. using Discord.Serialization;
  3. namespace Discord.API
  4. {
  5. internal class Presence
  6. {
  7. [ModelProperty("user")]
  8. public User User { get; set; }
  9. [ModelProperty("guild_id")]
  10. public Optional<ulong> GuildId { get; set; }
  11. [ModelProperty("status")]
  12. public UserStatus Status { get; set; }
  13. [ModelProperty("game")]
  14. public Game Game { get; set; }
  15. [ModelProperty("roles")]
  16. public Optional<ulong[]> Roles { get; set; }
  17. [ModelProperty("nick")]
  18. public Optional<string> Nick { get; set; }
  19. }
  20. }