#discord api, message create properties error

6 messages · Page 1 of 1 (latest)

empty monolith
{
  t: 'MESSAGE_CREATE',
  s: 5,
  op: 0,
  d: {
    type: 0,
    tts: false,
    timestamp: '2024-03-09T04:36:03.725000+00:00',
    referenced_message: null,
    pinned: false,
    nonce: '1215880762839007232',
    mentions: [],
    mention_roles: [],
    mention_everyone: false,
    member: {
      roles: [],
      premium_since: null,
      pending: false,
      nick: null,
      mute: false,
      joined_at: '2024-03-08T01:22:55.379000+00:00',
      flags: 0,
      deaf: false,
      communication_disabled_until: null,
      avatar: null
    },
    id: '1215880762386284554',
    flags: 0,
    embeds: [],
    edited_timestamp: null,
    content: '',
    components: [],
    channel_id: '1215469770288402454',
    author: {
      username: 'grub_x64.efi',
      public_flags: 0,
      premium_type: 0,
      id: '1207046776205611019',
      global_name: 'Grubx64.efi',
      discriminator: '0',
      avatar_decoration_data: null,
      avatar: null
    },
    attachments: [],
    guild_id: '1215469769298411591'
  }
}

Even when I write something, the content is ALWAYS empty. Who knows what the problem is?

hardy jasperBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
oak sapphire
empty monolith

32767

hexed havenBOT

Tag suggestion for @empty monolith:
We highly recommend only specifying the intents you actually need.

  • Note, that 98303, 32767 or whatever other magic number you read that represents "all intents", gets outdated as soon as new intents are introduced.
  • The number will always represent the same set of intents, and will not include new ones. There is no magic "all intents" bit.
empty monolith

Hm