djs-model 0.1.0-alpha.2

Discord API v10 types — users, guilds, channels, messages, interactions and gateway events.
Documentation
[
  {
    "title": "Application Authorized Example",
    "json": {
      "version": 1,
      "application_id": "1234560123453231555",
      "type": 1,
      "event": {
        "type": "APPLICATION_AUTHORIZED",
        "timestamp": "2024-10-18T14:42:53.064834",
        "data": {
          "integration_type": 1,
          "scopes": [
            "applications.commands"
          ],
          "user": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          }
        }
      }
    }
  },
  {
    "title": "Application Deauthorized Example",
    "json": {
      "version": 1,
      "application_id": "1234560123453231555",
      "type": 1,
      "event": {
        "type": "APPLICATION_DEAUTHORIZED",
        "timestamp": "2024-10-18T14:42:53.064834",
        "data": {
          "user": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          }
        }
      }
    }
  },
  {
    "title": "Entitlement Create Example",
    "json": {
      "version": 1,
      "application_id": "1234560123453231555",
      "type": 1,
      "event": {
        "type": "ENTITLEMENT_CREATE",
        "timestamp": "2024-10-18T18:41:21.109604",
        "data": {
          "application_id": "1234560123453231555",
          "consumed": false,
          "deleted": false,
          "gift_code_flags": 0,
          "id": "1234505980407808808",
          "promotion_id": null,
          "sku_id": "123489045643835123",
          "type": 4,
          "user_id": "111178765189277770"
        }
      }
    }
  },
  {
    "title": "Entitlement Update Example",
    "json": {
      "version": 1,
      "application_id": "1234560123453231555",
      "type": 1,
      "event": {
        "type": "ENTITLEMENT_UPDATE",
        "timestamp": "2024-10-18T18:41:21.109604",
        "data": {
          "application_id": "1234560123453231555",
          "consumed": false,
          "deleted": false,
          "gift_code_flags": 0,
          "id": "1234505980407808808",
          "promotion_id": null,
          "sku_id": "123489045643835123",
          "type": 4,
          "user_id": "111178765189277770"
        }
      }
    }
  },
  {
    "title": "Entitlement Delete Example",
    "json": {
      "version": 1,
      "application_id": "1234560123453231555",
      "type": 1,
      "event": {
        "type": "ENTITLEMENT_DELETE",
        "timestamp": "2024-10-18T18:41:21.109604",
        "data": {
          "application_id": "1234560123453231555",
          "consumed": false,
          "deleted": true,
          "gift_code_flags": 0,
          "id": "1234505980407808808",
          "promotion_id": null,
          "sku_id": "123489045643835123",
          "type": 4,
          "user_id": "111178765189277770"
        }
      }
    }
  },
  {
    "title": "Lobby Message Create Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "LOBBY_MESSAGE_CREATE",
        "timestamp": "2024-10-18T18:41:21.109604",
        "data": {
          "id": "1397729799727878254",
          "type": 0,
          "content": "welcome to the party!",
          "lobby_id": "1397729744753266719",
          "channel_id": "1397729744753266719",
          "author": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          },
          "flags": 65536,
          "application_id": "1234567765431056709"
        }
      }
    }
  },
  {
    "title": "Lobby Message Update Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "LOBBY_MESSAGE_UPDATE",
        "timestamp": "2025-08-05T20:39:19.587872",
        "data": {
          "id": "1402390388030832792",
          "type": 0,
          "content": "noice",
          "lobby_id": "1402385687281537066",
          "channel_id": "1402389638311841883",
          "author": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          },
          "edited_timestamp": "2025-08-05T20:39:19.557970+00:00",
          "flags": 0,
          "timestamp": "2025-08-05T20:38:43.660000+00:00"
        }
      }
    }
  },
  {
    "title": "Lobby Message Delete Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "LOBBY_MESSAGE_DELETE",
        "timestamp": "2025-08-05T21:44:09.412957",
        "data": {
          "id": "1402406637632884857",
          "lobby_id": "1402399883394285659"
        }
      }
    }
  },
  {
    "title": "Game Direct Message Create Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "GAME_DIRECT_MESSAGE_CREATE",
        "timestamp": "2025-08-14T18:09:38.063234",
        "data": {
          "id": "1405614357781545021",
          "type": 0,
          "content": "get in friend, we're going raiding",
          "channel_id": "1405604229820715098",
          "author": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          },
          "timestamp": "2025-08-14T18:09:37.947000+00:00",
          "application_id": "1234567765431056709",
          "attachments": []
        }
      }
    }
  },
  {
    "title": "Game Direct Message Update Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "GAME_DIRECT_MESSAGE_UPDATE",
        "timestamp": "2025-08-14T16:44:31.847073",
        "data": {
          "id": "1405591838810706081",
          "content": "almost ready to queue?",
          "channel_id": "1404960877324533784",
          "author": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          },
          "recipient_id": "1404960877324533784"
        }
      }
    }
  },
  {
    "title": "Game Direct Message Delete Example",
    "json": {
      "version": 1,
      "application_id": "1234567765431056709",
      "type": 1,
      "event": {
        "type": "GAME_DIRECT_MESSAGE_DELETE",
        "timestamp": "2025-08-20T17:01:50.099204",
        "data": {
          "id": "1407771600643686503",
          "type": 0,
          "content": "cant make it in time",
          "channel_id": "1405604229820715098",
          "author": {
            "id": "1300000000000000003",
            "username": "mixo",
            "discriminator": "0",
            "global_name": "Mixo",
            "avatar": null
          },
          "timestamp": "2025-08-20T17:01:44.725000+00:00",
          "flags": 0,
          "attachments": [],
          "components": []
        }
      }
    }
  }
]