Browse Source

Minor exception edit

tags/docs-0.9
RogueException 9 years ago
parent
commit
8b42312bd5
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

@@ -40,7 +40,7 @@ namespace Discord
//TODO: Add local members cache

/// <summary> Returns the string used to mention this role. </summary>
public string Mention { get { if (IsEveryone) return "@everyone"; else throw new InvalidOperationException("Discord currently only supports referencing the everyone role"); } }
public string Mention { get { if (IsEveryone) return "@everyone"; else throw new InvalidOperationException("Discord currently only supports mentioning the everyone role"); } }

internal Role(DiscordClient client, long id, long serverId)
: base(client, id)


Loading…
Cancel
Save