<commit_before>---
name: Message
description: "A representation of a message sent over a guild's text channel, a group, or a private channel."
fields:
  - name: id
    type: MessageId
  - name: attachments
    array: true
    type: Attachment
  - name: author
    type: User
  - name: channel_id
    type: ChannelId
  - name: content
    type: string
  - name: edited_timestamp
    optional: true
    type: string
  - name: embeds
    array: true
    type: Embed
  - name: kind
    from: type
    type: MessageType
  - name: mention_everyone
    type: bool
  - name: mention_roles
    array: true
    type: RoleId
  - name: mentions
    array: true
    type: User
  - name: nonce
    optional: true
    type: string
  - name: pinned
    type: bool
  - name: reactions
    array: true
    type: MessageReaction
  - name: timestamp
    type: string
  - name: tts
    type: bool<commit_msg>Message reactions array doesn't exist if empty<commit_after>---
name: Message
description: "A representation of a message sent over a guild's text channel, a group, or a private channel."
fields:
  - name: id
    type: MessageId
  - name: attachments
    array: true
    type: Attachment
  - name: author
    type: User
  - name: channel_id
    type: ChannelId
  - name: content
    type: string
  - name: edited_timestamp
    optional: true
    type: string
  - name: embeds
    array: true
    type: Embed
  - name: kind
    from: type
    type: MessageType
  - name: mention_everyone
    type: bool
  - name: mention_roles
    array: true
    type: RoleId
  - name: mentions
    array: true
    type: User
  - name: nonce
    optional: true
    type: string
  - name: pinned
    type: bool
  - name: reactions
    array: true
    default: Vec::default()
    type: MessageReaction
  - name: timestamp
    type: string
  - name: tts
    type: bool
{'fraction_non_alphanumeric': 0.08065395095367847, 'fraction_numerical': 0.0, 'mean_word_length': 2.3812154696132595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6414860', 'n_tokens_mistral': 583, 'n_tokens_neox': 571, 'n_words': 211}