Fix !quote, use ToUniversalTime() on the timestamp saved to the database when saving a new quote

This commit is contained in:
Daan Boerlage 2021-11-08 00:02:12 +01:00
parent 7d4a81dcde
commit c9af82015b
Signed by: daan
GPG key ID: FCE070E1E4956606

View file

@ -313,7 +313,7 @@ namespace Geekbot.Bot.Commands.Utils.Quote
InternalId = internalId,
GuildId = Context.Guild.Id.AsLong(),
UserId = message.Author.Id.AsLong(),
Time = message.Timestamp.DateTime,
Time = message.Timestamp.DateTime.ToUniversalTime(),
Quote = message.Content,
Image = image
};