add: Added options '-c' option for '.xpglb' which will show global xp leaderboard only with this server's users

This commit is contained in:
Kwoth
2024-10-04 03:24:18 +00:00
parent 822ce0b8de
commit 3a504a954f
4 changed files with 54 additions and 25 deletions

View File

@@ -105,7 +105,7 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, INService
public override async Task<XpLbReply> GetXpLb(GetLbRequest request, ServerCallContext context)
{
var users = await _xp.GetUserXps(request.Page, request.PerPage);
var users = await _xp.GetGuildUserXps(request.Page, request.PerPage);
var reply = new XpLbReply();