forked from cadence/out-of-your-element
test for editing a new caption onto an image
This commit is contained in:
parent
8f6bb86b92
commit
2973170e87
4 changed files with 202 additions and 10 deletions
156
test/data.js
156
test/data.js
|
@ -867,6 +867,162 @@ module.exports = {
|
|||
tts: false,
|
||||
type: 0
|
||||
},
|
||||
removed_caption_from_image: {
|
||||
attachments: [
|
||||
{
|
||||
content_type: "image/png",
|
||||
filename: "piper_2.png",
|
||||
height: 163,
|
||||
id: "1141501302497615912",
|
||||
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1141501302497615912/piper_2.png",
|
||||
size: 43231,
|
||||
url: "https://cdn.discordapp.com/attachments/112760669178241024/1141501302497615912/piper_2.png",
|
||||
width: 188
|
||||
}
|
||||
],
|
||||
author: {
|
||||
avatar: "47db1be7ab77e1d812a4573177af0692",
|
||||
avatar_decoration: null,
|
||||
discriminator: "0",
|
||||
global_name: "wing",
|
||||
id: "112890272819507200",
|
||||
public_flags: 0,
|
||||
username: ".wing."
|
||||
},
|
||||
channel_id: "112760669178241024",
|
||||
components: [],
|
||||
content: "",
|
||||
edited_timestamp: "2023-08-16T22:38:43.075298+00:00",
|
||||
embeds: [],
|
||||
flags: 0,
|
||||
guild_id: "112760669178241024",
|
||||
id: "1141501302736695316",
|
||||
member: {
|
||||
avatar: null,
|
||||
communication_disabled_until: null,
|
||||
deaf: false,
|
||||
flags: 0,
|
||||
joined_at: "2015-11-08T12:25:38.461000+00:00",
|
||||
mute: false,
|
||||
nick: "windfucker",
|
||||
pending: false,
|
||||
premium_since: null,
|
||||
roles: [
|
||||
"204427286542417920",
|
||||
"118924814567211009",
|
||||
"222168467627835392",
|
||||
"265239342648131584",
|
||||
"303273332248412160",
|
||||
"303319030163439616",
|
||||
"305775031223320577",
|
||||
"318243902521868288",
|
||||
"349185088157777920",
|
||||
"378402925128712193",
|
||||
"391076926573510656",
|
||||
"230462991751970827",
|
||||
"392141548932038658",
|
||||
"397533096012152832",
|
||||
"454567553738473472",
|
||||
"482658335536185357",
|
||||
"482860581670486028",
|
||||
"495384759074160642",
|
||||
"638988388740890635",
|
||||
"764071315388629012",
|
||||
"373336013109461013",
|
||||
"872274377150980116",
|
||||
"1034022405275910164",
|
||||
"790724320824655873",
|
||||
"1040735082610167858",
|
||||
"1123730787653660742",
|
||||
"1070177137367208036"
|
||||
]
|
||||
},
|
||||
mention_everyone: false,
|
||||
mention_roles: [],
|
||||
mentions: [],
|
||||
pinned: false,
|
||||
timestamp: "2023-08-16T22:38:38.641000+00:00",
|
||||
tts: false,
|
||||
type: 0
|
||||
},
|
||||
added_caption_to_image: {
|
||||
attachments: [
|
||||
{
|
||||
content_type: "image/png",
|
||||
filename: "piper_2.png",
|
||||
height: 163,
|
||||
id: "1141501302497615912",
|
||||
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1141501302497615912/piper_2.png",
|
||||
size: 43231,
|
||||
url: "https://cdn.discordapp.com/attachments/112760669178241024/1141501302497615912/piper_2.png",
|
||||
width: 188
|
||||
}
|
||||
],
|
||||
author: {
|
||||
avatar: "47db1be7ab77e1d812a4573177af0692",
|
||||
avatar_decoration: null,
|
||||
discriminator: "0",
|
||||
global_name: "wing",
|
||||
id: "112890272819507200",
|
||||
public_flags: 0,
|
||||
username: ".wing."
|
||||
},
|
||||
channel_id: "112760669178241024",
|
||||
components: [],
|
||||
content: "some text",
|
||||
edited_timestamp: "2023-08-17T00:13:18.620975+00:00",
|
||||
embeds: [],
|
||||
flags: 0,
|
||||
guild_id: "112760669178241024",
|
||||
id: "1141501302736695317",
|
||||
member: {
|
||||
avatar: null,
|
||||
communication_disabled_until: null,
|
||||
deaf: false,
|
||||
flags: 0,
|
||||
joined_at: "2015-11-08T12:25:38.461000+00:00",
|
||||
mute: false,
|
||||
nick: "windfucker",
|
||||
pending: false,
|
||||
premium_since: null,
|
||||
roles: [
|
||||
"204427286542417920",
|
||||
"118924814567211009",
|
||||
"222168467627835392",
|
||||
"265239342648131584",
|
||||
"303273332248412160",
|
||||
"303319030163439616",
|
||||
"305775031223320577",
|
||||
"318243902521868288",
|
||||
"349185088157777920",
|
||||
"378402925128712193",
|
||||
"391076926573510656",
|
||||
"230462991751970827",
|
||||
"392141548932038658",
|
||||
"397533096012152832",
|
||||
"454567553738473472",
|
||||
"482658335536185357",
|
||||
"482860581670486028",
|
||||
"495384759074160642",
|
||||
"638988388740890635",
|
||||
"764071315388629012",
|
||||
"373336013109461013",
|
||||
"872274377150980116",
|
||||
"1034022405275910164",
|
||||
"790724320824655873",
|
||||
"1040735082610167858",
|
||||
"1123730787653660742",
|
||||
"1070177137367208036"
|
||||
]
|
||||
},
|
||||
mention_everyone: false,
|
||||
mention_roles: [],
|
||||
mentions: [],
|
||||
pinned: false,
|
||||
timestamp: "2023-08-16T22:38:38.641000+00:00",
|
||||
tts: false,
|
||||
type: 0
|
||||
},
|
||||
edit_of_reply_to_skull_webp_attachment_with_content: {
|
||||
type: 19,
|
||||
tts: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue