From 011889216b1116637ce4069372e61edf6bcb8637 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 18 Jan 2024 17:04:00 +1300 Subject: [PATCH] Add lottie sticker message test data --- test/data.js | 32 ++++++++++++++++++++++++++++++++ test/ooye-test-data.sql | 3 +++ 2 files changed, 35 insertions(+) diff --git a/test/data.js b/test/data.js index ed62a2d..508d628 100644 --- a/test/data.js +++ b/test/data.js @@ -1331,6 +1331,38 @@ module.exports = { name: "pomu puff" }] }, + lottie_sticker: { + id: "1106366167788044450", + type: 0, + content: "", + 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: [], + 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: "860171525772279849", + format_type: 3, + name: "8" + }] + }, message_in_thread: { type: 0, tts: false, diff --git a/test/ooye-test-data.sql b/test/ooye-test-data.sql index f37f599..f99d7da 100644 --- a/test/ooye-test-data.sql +++ b/test/ooye-test-data.sql @@ -103,6 +103,9 @@ INSERT INTO member_cache (room_id, mxid, displayname, avatar_url) VALUES ('!maggESguZBqGBZtSnr:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'), ('!CzvdIdUQXgUjDVKxeU:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'); +INSERT INTO lottie (sticker_id, mxc_url) VALUES +('860171525772279849', 'mxc://cadence.moe/ZtvvVbwMIdUZeovWVyGVFCeR'); + INSERT INTO "auto_emoji" ("name","emoji_id","guild_id") VALUES ('L1','1144820033948762203','529176156398682115'), ('L2','1144820084079087647','529176156398682115'),