forked from EllieBotDevs/elliebot
Added options '-c' option for '.xpglb' which will show global xp leaderboard only with this server's users
This commit is contained in:
parent
c6a4eaf04e
commit
21267db587
4 changed files with 53 additions and 24 deletions
src/EllieBot/Services/GrpcApi
|
@ -105,7 +105,7 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService
|
|||
|
||||
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();
|
||||
|
||||
|
|
Reference in a new issue