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 749 B

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