Minor exception edit
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Discord
|
|||||||
//TODO: Add local members cache
|
//TODO: Add local members cache
|
||||||
|
|
||||||
/// <summary> Returns the string used to mention this role. </summary>
|
/// <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)
|
internal Role(DiscordClient client, long id, long serverId)
|
||||||
: base(client, id)
|
: base(client, id)
|
||||||
|
|||||||
Reference in New Issue
Block a user