store the channel_id on event_message

This commit is contained in:
Cadence Ember 2023-07-11 08:01:11 +12:00
parent 1d6e833b22
commit 0f4f404160
5 changed files with 150 additions and 5 deletions

View file

@ -216,6 +216,119 @@ module.exports = {
flags: 0,
components: []
},
simple_message_link: {
id: "1126788210308161626",
type: 0,
content: "https://ptb.discord.com/channels/112760669178241024/112760669178241024/1126786462646550579",
channel_id: "112760669178241024",
author: {
id: "113340068197859328",
username: "kumaccino",
avatar: "b48302623a12bc7c59a71328f72ccb39",
discriminator: "0",
public_flags: 128,
flags: 128,
banner: null,
accent_color: null,
global_name: "kumaccino",
avatar_decoration: null,
display_name: "kumaccino",
banner_color: null
},
attachments: [],
embeds: [],
mentions: [],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-07T08:14:04.050000+00:00",
edited_timestamp: null,
flags: 0,
components: []
},
simple_reply: {
id: "1126604870762369124",
type: 19,
content: "<redacted for privacy>",
channel_id: "112760669178241024",
author: {
id: "116718249567059974",
username: "rnl",
avatar: "67e70f6424eead669e076b44474164c3",
discriminator: "0",
public_flags: 768,
flags: 768,
banner: null,
accent_color: null,
global_name: "▲",
avatar_decoration: null,
display_name: "▲",
banner_color: null
},
attachments: [],
embeds: [],
mentions: [
{
id: "113340068197859328",
username: "kumaccino",
avatar: "b48302623a12bc7c59a71328f72ccb39",
discriminator: "0",
public_flags: 128,
flags: 128,
banner: null,
accent_color: null,
global_name: "kumaccino",
avatar_decoration: null,
display_name: "kumaccino",
banner_color: null
}
],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-06T20:05:32.496000+00:00",
edited_timestamp: null,
flags: 0,
components: [],
message_reference: {
channel_id: "112760669178241024",
message_id: "1126577139723026564",
guild_id: "112760669178241024"
},
referenced_message: {
id: "1126577139723026564",
type: 0,
content: "this message was replied to",
channel_id: "112760669178241024",
author: {
id: "113340068197859328",
username: "kumaccino",
avatar: "b48302623a12bc7c59a71328f72ccb39",
discriminator: "0",
public_flags: 128,
flags: 128,
banner: null,
accent_color: null,
global_name: "kumaccino",
avatar_decoration: null,
display_name: "kumaccino",
banner_color: null
},
attachments: [],
embeds: [],
mentions: [],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-06T18:15:20.901000+00:00",
edited_timestamp: null,
flags: 0,
components: []
}
},
attachment_no_content: {
id: "1124628646670389348",
type: 0,