mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: public/private lookup flags, consistency
This commit is contained in:
parent
aacf5909a9
commit
455830a2b5
16 changed files with 44 additions and 40 deletions
|
|
@ -11,9 +11,9 @@ public class SystemList
|
|||
if (target == null) throw Errors.NoSystemError;
|
||||
ctx.CheckSystemPrivacy(target, target.MemberListPrivacy);
|
||||
|
||||
var opts = ctx.ParseMemberListOptions(ctx.LookupContextFor(target));
|
||||
var opts = ctx.ParseMemberListOptions(ctx.LookupContextFor(target.Id));
|
||||
await ctx.RenderMemberList(
|
||||
ctx.LookupContextFor(target),
|
||||
ctx.LookupContextFor(target.Id),
|
||||
target.Id,
|
||||
GetEmbedTitle(target, opts),
|
||||
target.Color,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue