chore: lint

This commit is contained in:
spiral 2022-06-10 18:49:36 -04:00
parent 58a9206d5c
commit 1c9a68cb53
No known key found for this signature in database
GPG key ID: 244A11E4B0BCF40E
5 changed files with 7 additions and 7 deletions

View file

@ -45,7 +45,7 @@ public class ProxiedMessage
_logChannel = logChannel;
// _cache = cache;
_metrics = metrics;
_proxy = proxy;
_proxy = proxy;
}
public async Task ReproxyMessage(Context ctx)
@ -61,7 +61,7 @@ public class ProxiedMessage
throw new PKError("Could not find a member to reproxy the message with.");
// Fetch members and get the ProxyMember for `target`
List <ProxyMember> members;
List<ProxyMember> members;
using (_metrics.Measure.Timer.Time(BotMetrics.ProxyMembersQueryTime))
members = (await _repo.GetProxyMembers(ctx.Author.Id, msg.Message.Guild!.Value)).ToList();
var match = members.Find(x => x.Id == target.Id);