mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: add CheckOwnGroup in Random.GroupMember
This commit is contained in:
parent
2aead40449
commit
a507883dda
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ public class Random
|
|||
|
||||
public async Task GroupMember(Context ctx, PKGroup group)
|
||||
{
|
||||
ctx.CheckOwnGroup(group);
|
||||
|
||||
var opts = ctx.ParseMemberListOptions(ctx.DirectLookupContextFor(group.System));
|
||||
opts.GroupFilter = group.Id;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue