mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
fix: actually pass group actioned/not actioned count properly to GenerateResponse
I hope this works. This code is all a mess. Refactor when?
This commit is contained in:
parent
023d2577e5
commit
b71e97a5e9
2 changed files with 2 additions and 2 deletions
|
|
@ -471,7 +471,7 @@ namespace PluralKit.Bot
|
|||
}
|
||||
else return; // otherwise toAction "may be undefined"
|
||||
|
||||
await ctx.Reply(GroupAddRemoveResponseService.GenerateResponse(op, members.Count, 1, members.Count - existingMembersInGroup.Count, existingMembersInGroup.Count));
|
||||
await ctx.Reply(GroupAddRemoveResponseService.GenerateResponse(op, members.Count, 1, toAction.Count, members.Count - toAction.Count));
|
||||
}
|
||||
|
||||
public async Task ListGroupMembers(Context ctx, PKGroup target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue