Dependency Upgrades

This commit is contained in:
runebaas 2020-06-01 02:16:29 +02:00
parent ff968a490f
commit 3108a68407
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
5 changed files with 32 additions and 19 deletions

View file

@ -252,7 +252,7 @@ namespace Geekbot.net.Commands.Utils.Quote
try
{
var list = Context.Channel.GetMessagesAsync().Flatten();
return await list.FirstOrDefault(msg =>
return await list.FirstOrDefaultAsync(msg =>
msg.Author.Id == user.Id &&
msg.Embeds.Count == 0 &&
msg.Id != Context.Message.Id &&