Potentially fix NRE in ProxyService
This commit is contained in:
parent
203dbc65a1
commit
147e1fdc1a
@ -100,7 +100,7 @@ namespace PluralKit.Bot
|
|||||||
match.Member.ProxyAvatar(ctx),
|
match.Member.ProxyAvatar(ctx),
|
||||||
content, trigger.Attachments, allowEveryone);
|
content, trigger.Attachments, allowEveryone);
|
||||||
|
|
||||||
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.ChannelId, id, trigger.Id, match.Member.Id);
|
||||||
Task LogMessage() => _logChannel.LogMessage(ctx, match, trigger, id).AsTask();
|
Task LogMessage() => _logChannel.LogMessage(ctx, match, trigger, id).AsTask();
|
||||||
async Task DeleteMessage()
|
async Task DeleteMessage()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user