forked from EllieBotDevs/elliebot
.waifulb will no longer show #0000 discriminators, for real this time
This commit is contained in:
parent
db8885739f
commit
9f97badfc7
4 changed files with 23 additions and 21 deletions
src/EllieBot/Services/GrpcApi
|
@ -134,10 +134,10 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService
|
|||
var reply = new WaifuLbReply();
|
||||
reply.Entries.AddRange(waifus.Select(x => new WaifuLbEntry()
|
||||
{
|
||||
ClaimedBy = x.Claimer ?? string.Empty,
|
||||
IsMutual = x.Claimer == x.Affinity,
|
||||
ClaimedBy = x.ClaimerName ?? string.Empty,
|
||||
IsMutual = x.ClaimerName == x.Affinity,
|
||||
Value = x.Price,
|
||||
User = x.Username,
|
||||
User = x.WaifuName,
|
||||
}));
|
||||
return reply;
|
||||
}
|
||||
|
|
Reference in a new issue