Implement join messages

This commit is contained in:
Jeremy Zhang
2018-08-19 02:55:31 +00:00
parent 38bf9133da
commit 3e27b156a8
4 changed files with 71 additions and 2 deletions

View File

@ -18,6 +18,7 @@ def get_formatted_message(message):
"author": get_message_author(message),
"timestamp": format_datetime(message.created_at),
"edited_timestamp": edit_ts,
"type": message.type.value,
}
if hasattr(message, "mentions"):
msg["mentions"] = get_message_mentions(message.mentions)