From a507883ddaedf46075dfd509df785c93b03be2c2 Mon Sep 17 00:00:00 2001 From: spiral Date: Thu, 13 Jan 2022 12:27:00 -0500 Subject: [PATCH] fix: add CheckOwnGroup in Random.GroupMember --- PluralKit.Bot/Commands/Random.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PluralKit.Bot/Commands/Random.cs b/PluralKit.Bot/Commands/Random.cs index adcc859a..a2876c10 100644 --- a/PluralKit.Bot/Commands/Random.cs +++ b/PluralKit.Bot/Commands/Random.cs @@ -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;