mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +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)
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ namespace PluralKit.Bot
|
|||
}
|
||||
else return; // otherwise toAction "may be unassigned"
|
||||
|
||||
await ctx.Reply(GroupAddRemoveResponseService.GenerateResponse(op, 1, groups.Count, groups.Count - existingGroups.Count, existingGroups.Count));
|
||||
await ctx.Reply(GroupAddRemoveResponseService.GenerateResponse(op, 1, groups.Count, toAction.Count, groups.Count - toAction.Count));
|
||||
}
|
||||
|
||||
public async Task List(Context ctx, PKMember target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue