Updated permission debuggerdisplays
This commit is contained in:
@@ -131,6 +131,6 @@ namespace Discord
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString() => RawValue.ToString();
|
public override string ToString() => RawValue.ToString();
|
||||||
private string DebuggerDisplay => $"{RawValue} ({string.Join(", ", ToList())})";
|
private string DebuggerDisplay => $"{string.Join(", ", ToList())}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -143,6 +143,6 @@ namespace Discord
|
|||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString() => RawValue.ToString();
|
public override string ToString() => RawValue.ToString();
|
||||||
private string DebuggerDisplay => $"{RawValue} ({string.Join(", ", ToList())})";
|
private string DebuggerDisplay => $"{string.Join(", ", ToList())}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ namespace Discord
|
|||||||
|
|
||||||
public override string ToString() => $"Allow {AllowValue}, Deny {DenyValue}";
|
public override string ToString() => $"Allow {AllowValue}, Deny {DenyValue}";
|
||||||
private string DebuggerDisplay =>
|
private string DebuggerDisplay =>
|
||||||
$"Allow {AllowValue} ({string.Join(", ", ToAllowList())})\n" +
|
$"Allow {string.Join(", ", ToAllowList())}, " +
|
||||||
$"Deny {DenyValue} ({string.Join(", ", ToDenyList())})";
|
$"Deny {string.Join(", ", ToDenyList())}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user