Revert message.created_at to be timestamp

This commit is contained in:
Dustin Pianalto 2019-12-16 22:17:37 -09:00
parent 4321bc894b
commit 9a37bb53a9

View File

@ -17,7 +17,7 @@ class MessageEvents(commands.Cog):
'author': message.author.id, 'author': message.author.id,
'guild': message.guild.id, 'guild': message.guild.id,
'channel': message.channel.id, 'channel': message.channel.id,
'created_at': message.created_at.replace(tzinfo=timezone.utc), 'created_at': message.created_at.timestamp(),
'tagged_everyone': message.mention_everyone, 'tagged_everyone': message.mention_everyone,
'content': message.content, 'content': message.content,
'embeds': [e.to_dict() for e in message.embeds], 'embeds': [e.to_dict() for e in message.embeds],