1
0
Fork 0
out-of-your-element-fork-th.../test/data.js

896 lines
24 KiB
JavaScript

// @ts-check
const DiscordTypes = require("discord-api-types/v10")
module.exports = {
channel: {
general: {
type: 0,
topic: "https://docs.google.com/document/d/blah/edit | I spread, pipe, and whip because it is my will. :headstone:",
rate_limit_per_user: 0,
position: 0,
permission_overwrites: [],
parent_id: null,
nsfw: false,
name: "collective-unconscious" ,
last_pin_timestamp: "2023-04-06T09:51:57+00:00",
last_message_id: "1103832925784514580",
id: "112760669178241024",
default_thread_rate_limit_per_user: 0,
guild_id: "112760669178241024"
}
},
room: {
general: {
"m.room.name/": {name: "main"},
"m.room.topic/": {topic: "#collective-unconscious | https://docs.google.com/document/d/blah/edit | I spread, pipe, and whip because it is my will. :headstone:\n\nChannel ID: 112760669178241024\nGuild ID: 112760669178241024"},
"m.room.guest_access/": {guest_access: "can_join"},
"m.room.history_visibility/": {history_visibility: "invited"},
"m.space.parent/!jjWAGMeQdNrVZSSfvz:cadence.moe": {
via: ["cadence.moe"], // TODO: put the proper server here
canonical: true
},
"m.room.join_rules/": {
join_rule: "restricted",
allow: [{
type: "m.room_membership",
room_id: "!jjWAGMeQdNrVZSSfvz:cadence.moe"
}]
},
"m.room.avatar/": {
discord_path: "/icons/112760669178241024/a_f83622e09ead74f0c5c527fe241f8f8c.png?size=1024",
url: "mxc://cadence.moe/zKXGZhmImMHuGQZWJEFKJbsF"
}
}
},
guild: {
general: {
owner_id: "112760500130975744",
premium_tier: 3,
stickers: [{
type: 2,
tags: "sunglasses",
name: "pomu puff",
id: "1106323941183717586",
guild_id: "112760669178241024",
format_type: 1,
description: "damn that tiny lil bitch really chuffing. puffing that fat ass dart",
available: true
}],
max_members: 500000,
splash: "86a34ed02524b972918bef810087f8e7",
explicit_content_filter: 0,
afk_channel_id: null,
nsfw_level: 0,
description: null,
preferred_locale: "en-US",
system_channel_id: "112760669178241024",
mfa_level: 0,
/** @type {300} */
afk_timeout: 300,
id: "112760669178241024",
icon: "a_f83622e09ead74f0c5c527fe241f8f8c",
emojis: [],
premium_subscription_count: 14,
roles: [],
discovery_splash: null,
default_message_notifications: 1,
region: "deprecated",
max_video_channel_users: 25,
verification_level: 0,
application_id: null,
premium_progress_bar_enabled: false,
banner: "a_a666ae551605a2d8cda0afd591c0af3a",
features: [],
vanity_url_code: null,
hub_type: null,
public_updates_channel_id: null,
rules_channel_id: null,
name: "Psychonauts 3",
max_stage_video_channel_users: 300,
system_channel_flags: 0|0
}
},
member: {
sheep: {
avatar: "38dd359aa12bcd52dd3164126c587f8c",
communication_disabled_until: null,
flags: 0,
joined_at: "2020-10-14T22:08:37.804000+00:00",
nick: "The Expert's Submarine",
pending: false,
premium_since: "2022-05-04T00:28:44.326000+00:00",
roles: [
"112767366235959296", "118924814567211009",
"118923488755974146", "199995902742626304",
"204427286542417920", "217013981053845504",
"222168467627835392", "260993819204386816",
"265239342648131584", "271173313575780353",
"225744901915148298", "287733611912757249",
"318243902521868288", "348651574924541953",
"352291384021090304", "378402925128712193",
"392141548932038658", "393912152173576203",
"1123460940935991296", "872274377150980116",
"373336013109461013", "530220455085473813",
"768280323829137430", "842343433452257310",
"454567553738473472", "920107226528612383",
"1123528381514911745", "1040735082610167858",
"585531096071012409", "849737964090556488",
"660272211449479249"
],
user: {
id: "134826546694193153",
username: "aprilsong",
avatar: "c754c120bce07ae3b3130e2b0e61d9dd",
discriminator: "0",
public_flags: 640,
flags: 640,
banner: "a3ad0693213f9dbf793b4159dbae0717",
accent_color: null,
global_name: "sheep",
avatar_decoration: null,
display_name: "sheep",
banner_color: null
},
mute: false,
deaf: false
}
},
message: {
// Display order is text content, attachments, then stickers
simple_plaintext: {
id: "1126733830494093453",
type: 0,
content: "ayy lmao",
channel_id: "112760669178241024",
author: {
id: "111604486476181504",
username: "kyuugryphon",
avatar: "e4ce31267ca524d19be80e684d4cafa1",
discriminator: "0",
public_flags: 0,
flags: 0,
banner: null,
accent_color: null,
global_name: "KyuuGryphon",
avatar_decoration: null,
display_name: "KyuuGryphon",
banner_color: null
},
attachments: [],
embeds: [],
mentions: [],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-07T04:37:58.892000+00:00",
edited_timestamp: null,
flags: 0,
components: []
},
simple_user_mention: {
id: "1126739682080858234",
type: 0,
content: "<@820865262526005258> Tell me about Phil, renowned martial arts master and creator of the Chin Trick",
channel_id: "112760669178241024",
author: {
id: "114147806469554185",
username: "extremity",
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6",
discriminator: "0",
public_flags: 768,
flags: 768,
banner: null,
accent_color: null,
global_name: "Extremity",
avatar_decoration: null,
display_name: "Extremity",
banner_color: null
},
attachments: [],
embeds: [],
mentions: [
{
id: "820865262526005258",
username: "crunch god",
avatar: "f7a75ca031c1d2326e0f3ca5213eea47",
discriminator: "8889",
public_flags: 0,
flags: 0,
bot: true,
banner: null,
accent_color: null,
global_name: null,
avatar_decoration: null,
display_name: null,
banner_color: null
}
],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-07T05:01:14.019000+00:00",
edited_timestamp: null,
flags: 0,
components: []
},
simple_room_mention: {
type: 0,
tts: false,
timestamp: "2023-07-10T20:04:25.939000+00:00",
referenced_message: null,
pinned: false,
nonce: "1128054139385806848",
mentions: [],
mention_roles: [],
mention_everyone: false,
member: {
roles: [
"112767366235959296", "118924814567211009",
"204427286542417920", "199995902742626304",
"222168467627835392", "238028326281805825",
"259806643414499328", "265239342648131584",
"271173313575780353", "287733611912757249",
"225744901915148298", "305775031223320577",
"318243902521868288", "348651574924541953",
"349185088157777920", "378402925128712193",
"392141548932038658", "393912152173576203",
"482860581670486028", "495384759074160642",
"638988388740890635", "373336013109461013",
"530220455085473813", "454567553738473472",
"790724320824655873", "1123518980456452097",
"1040735082610167858", "695946570482450442",
"1123460940935991296", "849737964090556488"
],
premium_since: null,
pending: false,
nick: null,
mute: false,
joined_at: "2015-11-11T09:55:40.321000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: null
},
id: "1128054143064494233",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "<#112760669178241024>",
components: [],
channel_id: "266767590641238027",
author: {
username: "kumaccino",
public_flags: 128,
id: "113340068197859328",
global_name: "kumaccino",
discriminator: "0",
avatar_decoration: null,
avatar: "b48302623a12bc7c59a71328f72ccb39"
},
attachments: [],
guild_id: "112760669178241024"
},
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,
content: "",
channel_id: "497161332244742154",
author: {
id: "320067006521147393",
username: "papiophidian",
global_name: "PapiOphidian",
avatar: "fb2b4535f7a108619e3edae12fcb16c5",
discriminator: "0",
public_flags: 4194880,
avatar_decoration: null
},
attachments: [
{
id: "1124628646431297546",
filename: "image.png",
size: 12919,
url: "https://cdn.discordapp.com/attachments/497161332244742154/1124628646431297546/image.png",
proxy_url: "https://media.discordapp.net/attachments/497161332244742154/1124628646431297546/image.png",
width: 466,
height: 85,
content_type: "image/png"
}
],
embeds: [],
mentions: [],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-07-01T09:12:43.956000+00:00",
edited_timestamp: null,
flags: 0,
components: []
},
skull_webp_attachment_with_content: {
type: 0,
tts: false,
timestamp: "2023-07-10T22:06:02.805000+00:00",
referenced_message: null,
pinned: false,
nonce: "1128084721398448128",
mentions: [],
mention_roles: [],
mention_everyone: false,
member: {
roles: [
"112767366235959296",
"118924814567211009",
"199995902742626304",
"204427286542417920",
"222168467627835392",
"271173313575780353",
"392141548932038658",
"1040735082610167858",
"372954403902193689",
"1124134606514442300",
"585531096071012409"
],
premium_since: "2022-04-20T21:11:14.016000+00:00",
pending: false,
nick: "Tap to add a nickname",
mute: false,
joined_at: "2022-04-20T20:16:02.828000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: "a_4ea72c7b058ad848c9d9d35479fac26e"
},
id: "1128084748338741392",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "Image",
components: [],
channel_id: "112760669178241024",
author: {
username: "extremity",
public_flags: 768,
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
},
attachments: [
{
width: 1200,
url: "https://cdn.discordapp.com/attachments/112760669178241024/1128084747910918195/skull.webp",
size: 74290,
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1128084747910918195/skull.webp",
id: "1128084747910918195",
height: 628,
filename: "skull.webp",
content_type: "image/webp"
}
],
guild_id: "112760669178241024"
},
reply_to_skull_webp_attachment_with_content: {
type: 19,
tts: false,
timestamp: "2023-07-10T22:06:27.348000+00:00",
referenced_message: {
type: 0,
tts: false,
timestamp: "2023-07-10T22:06:02.805000+00:00",
pinned: false,
mentions: [],
mention_roles: [],
mention_everyone: false,
id: "1128084748338741392",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "Image",
components: [],
channel_id: "112760669178241024",
author: {
username: "extremity",
public_flags: 768,
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
},
attachments: [
{
width: 1200,
url: "https://cdn.discordapp.com/attachments/112760669178241024/1128084747910918195/skull.webp",
size: 74290,
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1128084747910918195/skull.webp",
id: "1128084747910918195",
height: 628,
filename: "skull.webp",
content_type: "image/webp"
}
]
},
pinned: false,
nonce: "1128084845403045888",
message_reference: {
message_id: "1128084748338741392",
guild_id: "112760669178241024",
channel_id: "112760669178241024"
},
mentions: [
{
username: "extremity",
public_flags: 768,
member: {
roles: [
"112767366235959296",
"118924814567211009",
"199995902742626304",
"204427286542417920",
"222168467627835392",
"271173313575780353",
"392141548932038658",
"1040735082610167858",
"372954403902193689",
"1124134606514442300",
"585531096071012409"
],
premium_since: "2022-04-20T21:11:14.016000+00:00",
pending: false,
nick: "Tap to add a nickname",
mute: false,
joined_at: "2022-04-20T20:16:02.828000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: "a_4ea72c7b058ad848c9d9d35479fac26e"
},
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
}
],
mention_roles: [],
mention_everyone: false,
member: {
roles: [
"112767366235959296",
"118924814567211009",
"199995902742626304",
"204427286542417920",
"222168467627835392",
"271173313575780353",
"392141548932038658",
"1040735082610167858",
"372954403902193689",
"1124134606514442300",
"585531096071012409"
],
premium_since: "2022-04-20T21:11:14.016000+00:00",
pending: false,
nick: "Tap to add a nickname",
mute: false,
joined_at: "2022-04-20T20:16:02.828000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: "a_4ea72c7b058ad848c9d9d35479fac26e"
},
id: "1128084851279536279",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "Reply",
components: [],
channel_id: "112760669178241024",
author: {
username: "extremity",
public_flags: 768,
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
},
attachments: [
{
width: 2048,
url: "https://cdn.discordapp.com/attachments/112760669178241024/1128084851023675515/RDT_20230704_0936184915846675925224905.jpg",
size: 85906,
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1128084851023675515/RDT_20230704_0936184915846675925224905.jpg",
id: "1128084851023675515",
height: 1536,
filename: "RDT_20230704_0936184915846675925224905.jpg",
content_type: "image/jpeg"
}
],
guild_id: "112760669178241024"
},
simple_reply_to_matrix_user: {
type: 19,
tts: false,
timestamp: "2023-07-11T00:19:04.358000+00:00",
referenced_message: {
webhook_id: "703458020193206272",
type: 0,
tts: false,
timestamp: "2023-07-11T00:18:52.856000+00:00",
pinned: false,
mentions: [],
mention_roles: [],
mention_everyone: false,
id: "1128118177155526666",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "so can you reply to my webhook uwu",
components: [],
channel_id: "112760669178241024",
author: {
username: "cadence",
id: "703458020193206272",
discriminator: "0000",
bot: true,
avatar: "ea5413d310c85eb9edaa9db865e80155"
},
attachments: [],
application_id: "684280192553844747"
},
pinned: false,
nonce: "1128118222315323392",
message_reference: {
message_id: "1128118177155526666",
guild_id: "112760669178241024",
channel_id: "112760669178241024"
},
mentions: [],
mention_roles: [],
mention_everyone: false,
member: {
roles: [
"112767366235959296", "118924814567211009",
"204427286542417920", "199995902742626304",
"222168467627835392", "238028326281805825",
"259806643414499328", "265239342648131584",
"271173313575780353", "287733611912757249",
"225744901915148298", "305775031223320577",
"318243902521868288", "348651574924541953",
"349185088157777920", "378402925128712193",
"392141548932038658", "393912152173576203",
"482860581670486028", "495384759074160642",
"638988388740890635", "373336013109461013",
"530220455085473813", "454567553738473472",
"790724320824655873", "1123518980456452097",
"1040735082610167858", "695946570482450442",
"1123460940935991296", "849737964090556488"
],
premium_since: null,
pending: false,
nick: null,
mute: false,
joined_at: "2015-11-11T09:55:40.321000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: null
},
id: "1128118225398407228",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "Reply",
components: [],
channel_id: "112760669178241024",
author: {
username: "kumaccino",
public_flags: 128,
id: "113340068197859328",
global_name: "kumaccino",
discriminator: "0",
avatar_decoration: null,
avatar: "b48302623a12bc7c59a71328f72ccb39"
},
attachments: [],
guild_id: "112760669178241024"
},
edit_of_reply_to_skull_webp_attachment_with_content: {
type: 19,
tts: false,
timestamp: "2023-07-10T22:06:27.348000+00:00",
referenced_message: {
type: 0,
tts: false,
timestamp: "2023-07-10T22:06:02.805000+00:00",
pinned: false,
mentions: [],
mention_roles: [],
mention_everyone: false,
id: "1128084748338741392",
flags: 0,
embeds: [],
edited_timestamp: null,
content: "Image",
components: [],
channel_id: "112760669178241024",
author: {
username: "extremity",
public_flags: 768,
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
},
attachments: [
{
width: 1200,
url: "https://cdn.discordapp.com/attachments/112760669178241024/1128084747910918195/skull.webp",
size: 74290,
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1128084747910918195/skull.webp",
id: "1128084747910918195",
height: 628,
filename: "skull.webp",
content_type: "image/webp"
}
]
},
pinned: false,
message_reference: {
message_id: "1128084748338741392",
guild_id: "112760669178241024",
channel_id: "112760669178241024"
},
mentions: [
{
username: "extremity",
public_flags: 768,
member: {
roles: [
"112767366235959296",
"118924814567211009",
"199995902742626304",
"204427286542417920",
"222168467627835392",
"271173313575780353",
"392141548932038658",
"1040735082610167858",
"372954403902193689",
"1124134606514442300",
"585531096071012409"
],
premium_since: "2022-04-20T21:11:14.016000+00:00",
pending: false,
nick: "Tap to add a nickname",
mute: false,
joined_at: "2022-04-20T20:16:02.828000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: "a_4ea72c7b058ad848c9d9d35479fac26e"
},
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
}
],
mention_roles: [],
mention_everyone: false,
member: {
roles: [
"112767366235959296",
"118924814567211009",
"199995902742626304",
"204427286542417920",
"222168467627835392",
"271173313575780353",
"392141548932038658",
"1040735082610167858",
"372954403902193689",
"1124134606514442300",
"585531096071012409"
],
premium_since: "2022-04-20T21:11:14.016000+00:00",
pending: false,
nick: "Tap to add a nickname",
mute: false,
joined_at: "2022-04-20T20:16:02.828000+00:00",
flags: 0,
deaf: false,
communication_disabled_until: null,
avatar: "a_4ea72c7b058ad848c9d9d35479fac26e"
},
id: "1128084851279536279",
flags: 0,
embeds: [],
edited_timestamp: "2023-07-10T22:08:57.442417+00:00",
content: "Edit",
components: [],
channel_id: "112760669178241024",
author: {
username: "extremity",
public_flags: 768,
id: "114147806469554185",
global_name: "Extremity",
discriminator: "0",
avatar_decoration: null,
avatar: "6628aaf6b27219c36e2d3b5cfd6d0ee6"
},
attachments: [
{
width: 2048,
url: "https://cdn.discordapp.com/attachments/112760669178241024/1128084851023675515/RDT_20230704_0936184915846675925224905.jpg",
size: 85906,
proxy_url: "https://media.discordapp.net/attachments/112760669178241024/1128084851023675515/RDT_20230704_0936184915846675925224905.jpg",
id: "1128084851023675515",
height: 1536,
filename: "RDT_20230704_0936184915846675925224905.jpg",
content_type: "image/jpeg"
}
],
guild_id: "112760669178241024"
},
sticker: {
id: "1106366167788044450",
type: 0,
content: "can have attachments too",
channel_id: "122155380120748034",
author: {
id: "113340068197859328",
username: "Cookie 🍪",
global_name: null,
display_name: null,
avatar: "b48302623a12bc7c59a71328f72ccb39",
discriminator: "7766",
public_flags: 128,
avatar_decoration: null
},
attachments: [{
id: "1106366167486038016",
filename: "image.png",
size: 127373,
url: "https://cdn.discordapp.com/attachments/122155380120748034/1106366167486038016/image.png",
proxy_url: "https://media.discordapp.net/attachments/122155380120748034/1106366167486038016/image.png",
width: 333,
height: 287,
content_type: "image/png"
}],
embeds: [],
mentions: [],
mention_roles: [],
pinned: false,
mention_everyone: false,
tts: false,
timestamp: "2023-05-11T23:44:09.690000+00:00",
edited_timestamp: null,
flags: 0,
components: [],
sticker_items: [{
id: "1106323941183717586",
format_type: 1,
name: "pomu puff"
}]
}
}
}