diff options
author | Puyodead1 <puyodead@proton.me> | 2023-09-04 13:49:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 13:49:45 -0400 |
commit | 372bd749fc4524f9cb427659c7793dddc0f26e77 (patch) | |
tree | 0406b0615e10ba9b1416466aef0231d5fdd1393b | |
parent | Rewrite thumbnail/image generation for embeds (diff) | |
parent | [fb] remove provider obj, add color (diff) | |
download | server-372bd749fc4524f9cb427659c7793dddc0f26e77.tar.xz |
Merge pull request #1097 from spacebarchat/steam-facebook-embed-handlers
Steam/Facebook Embeds
-rw-r--r-- | assets/schemas.json | 922 | ||||
-rw-r--r-- | src/api/util/utility/EmbedHandlers.ts | 55 |
2 files changed, 449 insertions, 528 deletions
diff --git a/assets/schemas.json b/assets/schemas.json index 3891cee7..77df48bd 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -1410,7 +1410,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -3892,6 +3891,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -3928,9 +3930,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -5615,7 +5614,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -8097,6 +8095,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -8133,9 +8134,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -9820,7 +9818,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -12302,6 +12299,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -12338,9 +12338,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -14020,7 +14017,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -16502,6 +16498,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -16538,9 +16537,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -18256,7 +18252,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -20738,6 +20733,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -20774,9 +20772,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -22461,7 +22456,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -24943,6 +24937,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -24979,9 +24976,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -26657,7 +26651,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -29139,6 +29132,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -29175,9 +29171,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -30856,7 +30849,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -33338,6 +33330,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -33374,9 +33369,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -35064,7 +35056,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -37546,6 +37537,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -37582,9 +37576,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -39260,7 +39251,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -41742,6 +41732,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -41778,9 +41771,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -43456,7 +43446,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -45938,6 +45927,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -45974,9 +45966,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -47671,7 +47660,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -50153,6 +50141,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -50189,9 +50180,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -51870,7 +51858,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -54352,6 +54339,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -54388,9 +54378,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -56129,7 +56116,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -58611,6 +58597,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -58647,9 +58636,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -60347,7 +60333,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -62829,6 +62814,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -62865,9 +62853,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -64706,7 +64691,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -67188,6 +67172,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -67224,9 +67211,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -68923,7 +68907,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -71405,6 +71388,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -71441,9 +71427,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -73150,7 +73133,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -75632,6 +75614,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -75668,9 +75653,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -77359,7 +77341,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -79841,6 +79822,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -79877,9 +79861,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -81574,7 +81555,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -84056,6 +84036,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -84092,9 +84075,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -85779,7 +85759,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -88261,6 +88240,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -88297,9 +88279,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -89972,7 +89951,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -92454,6 +92432,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -92490,9 +92471,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -94276,7 +94254,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -96758,6 +96735,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -96794,9 +96774,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -98577,7 +98554,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -101059,6 +101035,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -101095,9 +101074,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -102773,7 +102749,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -105255,6 +105230,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -105291,9 +105269,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -106977,7 +106952,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -109459,6 +109433,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -109495,9 +109472,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -111174,7 +111148,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -113656,6 +113629,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -113692,9 +113668,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -115371,7 +115344,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -117853,6 +117825,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -117889,9 +117864,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -119603,7 +119575,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -122085,6 +122056,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -122121,9 +122095,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -123800,7 +123771,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -126282,6 +126252,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -126318,9 +126291,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -127996,7 +127966,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -130478,6 +130447,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -130514,9 +130486,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -132207,7 +132176,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -134689,6 +134657,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -134725,9 +134696,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -136407,7 +136375,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -138889,6 +138856,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -138925,9 +138895,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -140681,7 +140648,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -143163,6 +143129,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -143199,9 +143168,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -144877,7 +144843,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -147359,6 +147324,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -147395,9 +147363,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -149073,7 +149038,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -151555,6 +151519,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -151591,9 +151558,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -153266,7 +153230,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -155748,6 +155711,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -155784,9 +155750,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -157465,7 +157428,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -159947,6 +159909,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -159983,9 +159948,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -161674,7 +161636,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -164156,6 +164117,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -164192,9 +164156,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -165867,7 +165828,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -168349,6 +168309,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -168385,9 +168348,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -170109,7 +170069,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -172591,6 +172550,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -172627,9 +172589,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -174337,7 +174296,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -176819,6 +176777,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -176855,9 +176816,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -178530,7 +178488,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -181012,6 +180969,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -181048,9 +181008,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -182748,7 +182705,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -185230,6 +185186,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -185266,9 +185225,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -185891,6 +185847,16 @@ "UserSettingsSchema": { "type": "object", "properties": { + "status": { + "enum": [ + "dnd", + "idle", + "invisible", + "offline", + "online" + ], + "type": "string" + }, "afk_timeout": { "type": "integer" }, @@ -185988,16 +185954,6 @@ "show_current_game": { "type": "boolean" }, - "status": { - "enum": [ - "dnd", - "idle", - "invisible", - "offline", - "online" - ], - "type": "string" - }, "stream_notifications_enabled": { "type": "boolean" }, @@ -187055,7 +187011,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -189537,6 +189492,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -189573,9 +189531,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -191247,7 +191202,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -193729,6 +193683,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -193765,9 +193722,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -195478,7 +195432,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -197960,6 +197913,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -197996,9 +197952,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -199697,7 +199650,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -202179,6 +202131,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -202215,9 +202170,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -203968,7 +203920,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -206450,6 +206401,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -206486,9 +206440,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -208161,7 +208112,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -210643,6 +210593,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -210679,9 +210632,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -212362,7 +212312,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -214844,6 +214793,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -214880,9 +214832,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -216553,7 +216502,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -219035,6 +218983,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -219071,9 +219022,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -220750,7 +220698,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -223232,6 +223179,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -223268,9 +223218,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -224947,7 +224894,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -227429,6 +227375,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -227465,9 +227414,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -229144,7 +229090,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -231626,6 +231571,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -231662,9 +231610,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -233373,7 +233318,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -235855,6 +235799,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -235891,9 +235838,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -237574,7 +237518,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -240056,6 +239999,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -240092,9 +240038,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -241765,7 +241708,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -244247,6 +244189,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -244283,9 +244228,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -245962,7 +245904,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -248444,6 +248385,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -248480,9 +248424,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -250170,7 +250111,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -252652,6 +252592,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -252688,9 +252631,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -254392,7 +254332,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -256874,6 +256813,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -256910,9 +256852,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -258585,7 +258524,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -261067,6 +261005,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -261103,9 +261044,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -262781,7 +262719,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -265263,6 +265200,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -265299,9 +265239,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -267006,7 +266943,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -269488,6 +269424,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -269524,9 +269463,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -271199,7 +271135,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -273681,6 +273616,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -273717,9 +273655,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -275471,7 +275406,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -277953,6 +277887,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -277989,9 +277926,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -279671,7 +279605,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -282153,6 +282086,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -282189,9 +282125,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -283864,7 +283797,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -286346,6 +286278,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -286382,9 +286317,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -288057,7 +287989,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -290539,6 +290470,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -290575,9 +290509,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -292257,7 +292188,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -294739,6 +294669,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -294775,9 +294708,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -296454,7 +296384,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -298936,6 +298865,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -298972,9 +298904,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -300647,7 +300576,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -303129,6 +303057,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -303165,9 +303096,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -304915,7 +304843,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -307397,6 +307324,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -307433,9 +307363,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -309119,7 +309046,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -311601,6 +311527,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -311637,9 +311566,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -313324,7 +313250,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -315806,6 +315731,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -315842,9 +315770,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -317579,7 +317504,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -320061,6 +319985,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -320097,9 +320024,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -321793,7 +321717,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -324275,6 +324198,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -324311,9 +324237,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -326013,7 +325936,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -328495,6 +328417,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -328531,9 +328456,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -330227,7 +330149,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -332709,6 +332630,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -332745,9 +332669,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -334420,7 +334341,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -336902,6 +336822,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -336938,9 +336861,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -338641,7 +338561,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -341123,6 +341042,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -341159,9 +341081,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -342874,7 +342793,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -345356,6 +345274,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -345392,9 +345313,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -347061,7 +346979,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -349543,6 +349460,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -349579,9 +349499,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -351258,7 +351175,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -353740,6 +353656,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -353776,9 +353695,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -355451,7 +355367,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -357933,6 +357848,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -357969,9 +357887,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -359651,7 +359566,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -362133,6 +362047,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -362169,9 +362086,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -362843,6 +362757,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -362879,9 +362796,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -364048,7 +363962,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -366530,6 +366443,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -366566,9 +366482,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -368232,7 +368145,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -370714,6 +370626,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -370750,9 +370665,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -372510,7 +372422,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -374992,6 +374903,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -375028,9 +374942,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -376697,7 +376608,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -379179,6 +379089,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -379215,9 +379128,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -380884,7 +380794,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -383366,6 +383275,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -383402,9 +383314,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -385071,7 +384980,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -387553,6 +387461,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -387589,9 +387500,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -389352,7 +389260,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -391834,6 +391741,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -391870,9 +391780,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -393537,7 +393444,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -396019,6 +395925,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -396055,9 +395964,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -397722,7 +397628,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -400204,6 +400109,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -400240,9 +400148,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -401907,7 +401812,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -404389,6 +404293,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -404425,9 +404332,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -406094,7 +405998,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -408576,6 +408479,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -408612,9 +408518,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -410281,7 +410184,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -412763,6 +412665,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -412799,9 +412704,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -414468,7 +414370,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -416950,6 +416851,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -416986,9 +416890,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -418655,7 +418556,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -421137,6 +421037,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -421173,9 +421076,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -422842,7 +422742,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -425324,6 +425223,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -425360,9 +425262,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -427093,7 +426992,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -429575,6 +429473,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -429611,9 +429512,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -431280,7 +431178,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -433762,6 +433659,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -433798,9 +433698,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -435467,7 +435364,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -437949,6 +437845,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -437985,9 +437884,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -439654,7 +439550,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -442136,6 +442031,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -442172,9 +442070,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -443885,7 +443780,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -446367,6 +446261,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -446403,9 +446300,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -448301,7 +448195,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -450783,6 +450676,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -450819,9 +450715,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -452488,7 +452381,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -454970,6 +454862,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -455006,9 +454901,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -456675,7 +456567,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -459157,6 +459048,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -459193,9 +459087,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -460862,7 +460753,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -463344,6 +463234,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -463380,9 +463273,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -465049,7 +464939,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -467531,6 +467420,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -467567,9 +467459,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -469262,7 +469151,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -471744,6 +471632,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -471780,9 +471671,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -473449,7 +473337,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -475931,6 +475818,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -475967,9 +475857,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -477657,7 +477544,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -480139,6 +480025,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -480175,9 +480064,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -481858,7 +481744,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -484340,6 +484225,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -484376,9 +484264,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -486168,7 +486053,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -488650,6 +488534,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -488686,9 +488573,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -490373,7 +490257,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -492855,6 +492738,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -492891,9 +492777,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -494584,7 +494467,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -497066,6 +496948,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -497102,9 +496987,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -498781,7 +498663,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -501263,6 +501144,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -501299,9 +501183,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -502978,7 +502859,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -505460,6 +505340,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -505496,9 +505379,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -507162,7 +507042,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -509644,6 +509523,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -509680,9 +509562,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -511358,7 +511237,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -513840,6 +513718,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -513876,9 +513757,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -515569,7 +515447,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -518051,6 +517928,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -518087,9 +517967,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -519784,7 +519661,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -522266,6 +522142,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -522302,9 +522181,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -523978,7 +523854,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -526460,6 +526335,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -526496,9 +526374,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -528171,7 +528046,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -530653,6 +530527,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -530689,9 +530566,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -532364,7 +532238,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -534846,6 +534719,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -534882,9 +534758,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, @@ -536563,7 +536436,6 @@ "created_at", "default_thread_rate_limit_per_user", "flags", - "guild", "id", "nsfw", "owner", @@ -539045,6 +538917,9 @@ "banner": { "type": "string" }, + "description": { + "type": "string" + }, "unavailable": { "type": "boolean" }, @@ -539081,9 +538956,6 @@ "default_message_notifications": { "type": "integer" }, - "description": { - "type": "string" - }, "discovery_splash": { "type": "string" }, diff --git a/src/api/util/utility/EmbedHandlers.ts b/src/api/util/utility/EmbedHandlers.ts index b1e6b866..ab953613 100644 --- a/src/api/util/utility/EmbedHandlers.ts +++ b/src/api/util/utility/EmbedHandlers.ts @@ -226,8 +226,21 @@ export const EmbedHandlers: { "c.tenor.com": genericImageHandler, "media.tenor.com": genericImageHandler, - // TODO: facebook - // have to use their APIs or something because they don't send the metas in initial html + "facebook.com": (url) => EmbedHandlers["www.facebook.com"](url), + "www.facebook.com": async (url: URL) => { + const response = await doFetch(url); + if (!response) return null; + const metas = getMetaDescriptions(await response.text()); + + return { + url: url.href, + type: EmbedType.link, + title: metas.title, + description: metas.description, + thumbnail: makeEmbedImage(metas.image, 640, 640), + color: 16777215, + }; + }, "twitter.com": (url) => EmbedHandlers["www.twitter.com"](url), "www.twitter.com": async (url: URL) => { @@ -385,6 +398,42 @@ export const EmbedHandlers: { const response = await doFetch(url); if (!response) return null; const metas = getMetaDescriptions(await response.text()); + const numReviews = metas.$("#review_summary_num_reviews").val() as + | string + | undefined; + const price = metas + .$(".game_purchase_price.price") + .data("price-final") as number | undefined; + const releaseDate = metas + .$(".release_date") + .find("div.date") + .text() + .trim(); + const isReleased = new Date(releaseDate) < new Date(); + + const fields: Embed["fields"] = []; + + if (numReviews) + fields.push({ + name: "Reviews", + value: numReviews, + inline: true, + }); + + if (price) + fields.push({ + name: "Price", + value: `$${price / 100}`, + inline: true, + }); + + // if the release date is in the past, it's already out + if (releaseDate && !isReleased) + fields.push({ + name: "Release Date", + value: releaseDate, + inline: true, + }); return { url: url.href, @@ -405,7 +454,7 @@ export const EmbedHandlers: { url: "https://store.steampowered.com", name: "Steam", }, - // TODO: fields for release date + fields, // TODO: Video }; }, |