mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
add flags for public / private
This commit is contained in:
parent
0429fa636b
commit
77444bff2e
3 changed files with 4 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ public class Context
|
|||
|
||||
public LookupContext LookupContextFor(SystemId systemId, bool? _hasPrivateOverride = null, bool? _hasPublicOverride = null)
|
||||
{
|
||||
// TODO(yusdacra): these should be passed as a parameter to this method all the way from command tree
|
||||
// todo(dusk): these should be passed as a parameter ideally
|
||||
bool hasPrivateOverride = _hasPrivateOverride ?? Parameters.HasFlag("private", "priv");
|
||||
bool hasPublicOverride = _hasPublicOverride ?? Parameters.HasFlag("public", "pub");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue