Properly support KeepProxy after refactor

This commit is contained in:
Ske 2020-06-13 22:16:04 +02:00
parent 6d06474d26
commit 4b69ef806a

View File

@ -85,7 +85,7 @@ namespace PluralKit.Bot
// Send the webhook // Send the webhook
var id = await _webhookExecutor.ExecuteWebhook(trigger.Channel, match.Member.ProxyName(ctx), var id = await _webhookExecutor.ExecuteWebhook(trigger.Channel, match.Member.ProxyName(ctx),
match.Member.ProxyAvatar(ctx), match.Member.ProxyAvatar(ctx),
match.Content, trigger.Attachments); match.ProxyContent, trigger.Attachments);
Task SaveMessage() => _data.AddMessage(conn, trigger.Author.Id, trigger.Channel.GuildId, trigger.Channel.Id, id, trigger.Id, match.Member.Id); Task SaveMessage() => _data.AddMessage(conn, trigger.Author.Id, trigger.Channel.GuildId, trigger.Channel.Id, id, trigger.Id, match.Member.Id);