djs-model 0.1.0-alpha.2

Discord API v10 types — users, guilds, channels, messages, interactions and gateway events.
Documentation
{
  "t": "MESSAGE_CREATE",
  "s": 42,
  "op": 0,
  "d": {
    "type": 19,
    "tts": false,
    "timestamp": "2026-11-10T19:42:07.123000+00:00",
    "referenced_message": null,
    "pinned": false,
    "nonce": "1437000000000005000",
    "message_reference": {
      "type": 0,
      "message_id": "1437000000000004000",
      "guild_id": "1437000000000000100",
      "channel_id": "1437000000000000300"
    },
    "mentions": [],
    "mention_roles": [],
    "mention_everyone": false,
    "member": {
      "roles": [],
      "premium_since": null,
      "pending": false,
      "nick": "Nell",
      "mute": false,
      "joined_at": "2024-01-01T00:00:00.000000+00:00",
      "flags": 0,
      "deaf": false,
      "communication_disabled_until": null,
      "banner": null,
      "avatar": null
    },
    "id": "1437000000000005001",
    "flags": 0,
    "embeds": [],
    "edited_timestamp": null,
    "content": "!ping — zażółć gęślą jaźń 🦀 and a fairly long tail so the string spills to the heap",
    "components": [],
    "channel_type": 0,
    "channel_id": "1437000000000000300",
    "author": {
      "username": "nelly",
      "public_flags": 0,
      "primary_guild": null,
      "id": "80351110224678912",
      "global_name": "Nelly",
      "discriminator": "0",
      "collectibles": null,
      "clan": null,
      "avatar_decoration_data": null,
      "avatar": "8342729096ea3675442027381ff50dfe"
    },
    "attachments": [],
    "guild_id": "1437000000000000100"
  }
}