Browse Source

Restore ability to `.Mention` the `EveryoneRole`

pull/56/head
Lirusaito 9 years ago
parent
commit
6337266375
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Models/Role.cs

+ 1
- 1
src/Discord.Net/Models/Role.cs View File

@@ -43,7 +43,7 @@ namespace Discord
public IEnumerable<User> Members => IsEveryone ? Server.Users : Server.Users.Where(x => x.HasRole(this));

/// <summary> Gets the string used to mention this role. </summary>
public string Mention => IsMentionable ? $"<@&{Id}>" : "";
public string Mention => IsEveryone ? "@everyone" : IsMentionable ? $"<@&{Id}>" : "";

internal Role(ulong id, Server server)
{


Loading…
Cancel
Save