Fix fuzzy log clean match error with multiple messages
This commit is contained in:
parent
75947301f1
commit
eefbf0630e
@ -89,7 +89,7 @@ namespace PluralKit.Bot
|
||||
|
||||
using var conn = await _db.Obtain();
|
||||
var mid = await conn.QuerySingleOrDefaultAsync<ulong?>(
|
||||
"select mid from messages where sender = @User and mid > @ApproxID and guild = @Guild",
|
||||
"select mid from messages where sender = @User and mid > @ApproxID and guild = @Guild limit 1",
|
||||
new
|
||||
{
|
||||
fuzzy.Value.User,
|
||||
|
Loading…
Reference in New Issue
Block a user