Restructure member description command

This commit is contained in:
Ske
2020-02-28 00:23:54 +01:00
parent bcc9659117
commit 1169669cf1
3 changed files with 38 additions and 6 deletions

View File

@@ -286,6 +286,9 @@ namespace PluralKit.Bot
public LookupContext LookupContextFor(PKSystem target) =>
System?.Id == target.Id ? LookupContext.ByOwner : LookupContext.ByNonOwner;
public LookupContext LookupContextFor(int systemId) =>
System?.Id == systemId ? LookupContext.ByOwner : LookupContext.ByNonOwner;
public Context CheckSystemPrivacy(PKSystem target, PrivacyLevel level)
{