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.

Role.cs 786 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. namespace Discord
  4. {
  5. public class Role : IEntity<ulong>, IMentionable
  6. {
  7. public ulong Id { get; }
  8. public DiscordClient Discord { get; }
  9. public EntityState State { get; }
  10. public Server Server { get; }
  11. public string Name { get; }
  12. public bool IsHoisted { get; }
  13. public int Position { get; }
  14. public bool IsManaged { get; }
  15. public ServerPermissions Permissions { get; }
  16. public Color Color { get; }
  17. public bool IsEveryone { get; }
  18. public IEnumerable<User> Members { get; }
  19. public string Mention { get; }
  20. public Task Update() => null;
  21. public Task Delete() => null;
  22. }
  23. }