mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
lint/fixes, add group patch validation
This commit is contained in:
parent
bc2c198a82
commit
c472a7f6df
6 changed files with 20 additions and 12 deletions
|
|
@ -55,13 +55,13 @@ namespace PluralKit.Bot
|
|||
{
|
||||
if (!ShouldProxy(channel, message, ctx))
|
||||
return false;
|
||||
|
||||
|
||||
var rootChannel = _cache.GetRootChannel(message.ChannelId);
|
||||
|
||||
List<ProxyMember> members;
|
||||
// Fetch members and try to match to a specific member
|
||||
using (_metrics.Measure.Timer.Time(BotMetrics.ProxyMembersQueryTime))
|
||||
{
|
||||
{
|
||||
await using var conn = await _db.Obtain();
|
||||
members = (await _repo.GetProxyMembers(conn, message.Author.Id, message.GuildId!.Value)).ToList();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue