diff --git a/src/api/ApiError.ts b/src/api/ApiError.ts index 1dadc79..64b16bd 100644 --- a/src/api/ApiError.ts +++ b/src/api/ApiError.ts @@ -31,7 +31,7 @@ export class ApiError { // https://stackoverflow.com/questions/31626231/custom-error-class-in-typescript Error.apply(this, ["ApiError"]); - if (typeof(json) === "string") json = {message: json}; + if (typeof (json) === "string") json = {message: json}; this.jsonResponse = json; this.statusCode = statusCode; this.errorCode = errCode; diff --git a/src/db/migrations/20180512190145-AddStickers.ts b/src/db/migrations/20180512190145-AddStickers.ts index 591cc8b..3aa89c2 100644 --- a/src/db/migrations/20180512190145-AddStickers.ts +++ b/src/db/migrations/20180512190145-AddStickers.ts @@ -78,44 +78,368 @@ export default { }, ])) .then(() => queryInterface.bulkInsert("dimension_stickers", [ - { packId: 1, name: "Happy", description: "A very happy husky", imageMxc: "mxc://t2bot.io/b4636e93388542f3cad8fcbb825adf36", thumbnailMxc: "mxc://t2bot.io/920b7a90c8d66f0de0bc2e4e7f1b3d90", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 1, name: "Laughing", description: "A husky laughs at something presumably funny", imageMxc: "mxc://t2bot.io/12e39b87ce8099ff5951b9c37405bac5", thumbnailMxc: "mxc://t2bot.io/cf2a8f9179bdb59ec3dfdc15a71eb12d", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 1, name: "Sad", description: "This husky is sad :(", imageMxc: "mxc://t2bot.io/96777697c144918fe80fca92c90e3208", thumbnailMxc: "mxc://t2bot.io/afbaad67303a70da9e5af39c6d55ab7e", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 1, name: "Heart Eyes", description: "This husky loves what he sees", imageMxc: "mxc://t2bot.io/193408b58f5e1eb72d9bea13f23914e6", thumbnailMxc: "mxc://t2bot.io/27038b035508f695eb0bfa99cc567cd9", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 1, name: "Sleeping", description: "Zzz", imageMxc: "mxc://t2bot.io/e3b518c8aa9f91efd7aaa2195a4662b0", thumbnailMxc: "mxc://t2bot.io/c7c89ac2f8edba4ca9fbe50a547c3d0c", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 1, name: "Dancing", description: "Either this husky is starting a dance party, or one is underway", imageMxc: "mxc://t2bot.io/f96cc6fcc48ec85dd9a160be18fa30c0", thumbnailMxc: "mxc://t2bot.io/a548fe46c6a979bd7de5fe1fee7b35b0", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, + { + packId: 1, + name: "Happy", + description: "A very happy husky", + imageMxc: "mxc://t2bot.io/b4636e93388542f3cad8fcbb825adf36", + thumbnailMxc: "mxc://t2bot.io/920b7a90c8d66f0de0bc2e4e7f1b3d90", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 1, + name: "Laughing", + description: "A husky laughs at something presumably funny", + imageMxc: "mxc://t2bot.io/12e39b87ce8099ff5951b9c37405bac5", + thumbnailMxc: "mxc://t2bot.io/cf2a8f9179bdb59ec3dfdc15a71eb12d", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 1, + name: "Sad", + description: "This husky is sad :(", + imageMxc: "mxc://t2bot.io/96777697c144918fe80fca92c90e3208", + thumbnailMxc: "mxc://t2bot.io/afbaad67303a70da9e5af39c6d55ab7e", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 1, + name: "Heart Eyes", + description: "This husky loves what he sees", + imageMxc: "mxc://t2bot.io/193408b58f5e1eb72d9bea13f23914e6", + thumbnailMxc: "mxc://t2bot.io/27038b035508f695eb0bfa99cc567cd9", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 1, + name: "Sleeping", + description: "Zzz", + imageMxc: "mxc://t2bot.io/e3b518c8aa9f91efd7aaa2195a4662b0", + thumbnailMxc: "mxc://t2bot.io/c7c89ac2f8edba4ca9fbe50a547c3d0c", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 1, + name: "Dancing", + description: "Either this husky is starting a dance party, or one is underway", + imageMxc: "mxc://t2bot.io/f96cc6fcc48ec85dd9a160be18fa30c0", + thumbnailMxc: "mxc://t2bot.io/a548fe46c6a979bd7de5fe1fee7b35b0", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, - { packId: 2, name: "Winking", description: "A winking cat", imageMxc: "mxc://t2bot.io/ccecfeed9e27d1180865ae27a08e2b7a", thumbnailMxc: "mxc://t2bot.io/ccecfeed9e27d1180865ae27a08e2b7a", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Heart Eyes", description: "This cat loves what it sees", imageMxc: "mxc://t2bot.io/0fc5a6aab879b64243f6018167b54216", thumbnailMxc: "mxc://t2bot.io/0fc5a6aab879b64243f6018167b54216", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Brown and Pink", description: "A cute brown and pink cat", imageMxc: "mxc://t2bot.io/ebcf532e183df1e8c7d983af2bbcfffc", thumbnailMxc: "mxc://t2bot.io/ebcf532e183df1e8c7d983af2bbcfffc", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Blushing", description: "Something embarrassing must have happened", imageMxc: "mxc://t2bot.io/017516e6a96b5bb7b9b8bb9302c51548", thumbnailMxc: "mxc://t2bot.io/017516e6a96b5bb7b9b8bb9302c51548", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Angry", description: "This cat is not happy", imageMxc: "mxc://t2bot.io/33761e2e7c39bc347c128b02715d28fd", thumbnailMxc: "mxc://t2bot.io/33761e2e7c39bc347c128b02715d28fd", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Disappointed", description: "This cat is disappointed", imageMxc: "mxc://t2bot.io/fae848ca3651131cc5b15bda728fb048", thumbnailMxc: "mxc://t2bot.io/fae848ca3651131cc5b15bda728fb048", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Very Happy", description: "A happy cat is a good cat!", imageMxc: "mxc://t2bot.io/fc06e95e9d2e3c62d5c577fbc6186f25", thumbnailMxc: "mxc://t2bot.io/fc06e95e9d2e3c62d5c577fbc6186f25", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Sad", description: "A sad cat :(", imageMxc: "mxc://t2bot.io/8be3ef58dc89fc269d37e5c978b37c2d", thumbnailMxc: "mxc://t2bot.io/8be3ef58dc89fc269d37e5c978b37c2d", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Happy", description: "A happy cat", imageMxc: "mxc://t2bot.io/2d7be360df8fa679e8a24b89b9b32aad", thumbnailMxc: "mxc://t2bot.io/2d7be360df8fa679e8a24b89b9b32aad", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Nope", description: "The cat has turned away, presumably to express disapproval", imageMxc: "mxc://t2bot.io/fb9cef3190b643c53c61538701763d36", thumbnailMxc: "mxc://t2bot.io/fb9cef3190b643c53c61538701763d36", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Shocked", description: "WHAT HAPPENED!?", imageMxc: "mxc://t2bot.io/45f0bcabd0edcf43801623a8f5675628", thumbnailMxc: "mxc://t2bot.io/45f0bcabd0edcf43801623a8f5675628", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Blue Eyed Wink", description: "A cute blue-eyed cat is winking", imageMxc: "mxc://t2bot.io/1e2c36ce0d191c47e74f60b45c377f3d", thumbnailMxc: "mxc://t2bot.io/1e2c36ce0d191c47e74f60b45c377f3d", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Sad", description: "A sad cat :(", imageMxc: "mxc://t2bot.io/f2d2c5490097d6542e96d295e415cb6f", thumbnailMxc: "mxc://t2bot.io/f2d2c5490097d6542e96d295e415cb6f", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Disappointed", description: "This cat is disappointed", imageMxc: "mxc://t2bot.io/00f8d2832087a4cbcd98f090864f3357", thumbnailMxc: "mxc://t2bot.io/00f8d2832087a4cbcd98f090864f3357", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 2, name: "Happy", description: "A happy cat", imageMxc: "mxc://t2bot.io/8c88a05eb8e5a555830c8fffa36043f5", thumbnailMxc: "mxc://t2bot.io/8c88a05eb8e5a555830c8fffa36043f5", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, + { + packId: 2, + name: "Winking", + description: "A winking cat", + imageMxc: "mxc://t2bot.io/ccecfeed9e27d1180865ae27a08e2b7a", + thumbnailMxc: "mxc://t2bot.io/ccecfeed9e27d1180865ae27a08e2b7a", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Heart Eyes", + description: "This cat loves what it sees", + imageMxc: "mxc://t2bot.io/0fc5a6aab879b64243f6018167b54216", + thumbnailMxc: "mxc://t2bot.io/0fc5a6aab879b64243f6018167b54216", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Brown and Pink", + description: "A cute brown and pink cat", + imageMxc: "mxc://t2bot.io/ebcf532e183df1e8c7d983af2bbcfffc", + thumbnailMxc: "mxc://t2bot.io/ebcf532e183df1e8c7d983af2bbcfffc", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Blushing", + description: "Something embarrassing must have happened", + imageMxc: "mxc://t2bot.io/017516e6a96b5bb7b9b8bb9302c51548", + thumbnailMxc: "mxc://t2bot.io/017516e6a96b5bb7b9b8bb9302c51548", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Angry", + description: "This cat is not happy", + imageMxc: "mxc://t2bot.io/33761e2e7c39bc347c128b02715d28fd", + thumbnailMxc: "mxc://t2bot.io/33761e2e7c39bc347c128b02715d28fd", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Disappointed", + description: "This cat is disappointed", + imageMxc: "mxc://t2bot.io/fae848ca3651131cc5b15bda728fb048", + thumbnailMxc: "mxc://t2bot.io/fae848ca3651131cc5b15bda728fb048", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Very Happy", + description: "A happy cat is a good cat!", + imageMxc: "mxc://t2bot.io/fc06e95e9d2e3c62d5c577fbc6186f25", + thumbnailMxc: "mxc://t2bot.io/fc06e95e9d2e3c62d5c577fbc6186f25", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Sad", + description: "A sad cat :(", + imageMxc: "mxc://t2bot.io/8be3ef58dc89fc269d37e5c978b37c2d", + thumbnailMxc: "mxc://t2bot.io/8be3ef58dc89fc269d37e5c978b37c2d", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Happy", + description: "A happy cat", + imageMxc: "mxc://t2bot.io/2d7be360df8fa679e8a24b89b9b32aad", + thumbnailMxc: "mxc://t2bot.io/2d7be360df8fa679e8a24b89b9b32aad", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Nope", + description: "The cat has turned away, presumably to express disapproval", + imageMxc: "mxc://t2bot.io/fb9cef3190b643c53c61538701763d36", + thumbnailMxc: "mxc://t2bot.io/fb9cef3190b643c53c61538701763d36", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Shocked", + description: "WHAT HAPPENED!?", + imageMxc: "mxc://t2bot.io/45f0bcabd0edcf43801623a8f5675628", + thumbnailMxc: "mxc://t2bot.io/45f0bcabd0edcf43801623a8f5675628", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Blue Eyed Wink", + description: "A cute blue-eyed cat is winking", + imageMxc: "mxc://t2bot.io/1e2c36ce0d191c47e74f60b45c377f3d", + thumbnailMxc: "mxc://t2bot.io/1e2c36ce0d191c47e74f60b45c377f3d", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Sad", + description: "A sad cat :(", + imageMxc: "mxc://t2bot.io/f2d2c5490097d6542e96d295e415cb6f", + thumbnailMxc: "mxc://t2bot.io/f2d2c5490097d6542e96d295e415cb6f", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Disappointed", + description: "This cat is disappointed", + imageMxc: "mxc://t2bot.io/00f8d2832087a4cbcd98f090864f3357", + thumbnailMxc: "mxc://t2bot.io/00f8d2832087a4cbcd98f090864f3357", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 2, + name: "Happy", + description: "A happy cat", + imageMxc: "mxc://t2bot.io/8c88a05eb8e5a555830c8fffa36043f5", + thumbnailMxc: "mxc://t2bot.io/8c88a05eb8e5a555830c8fffa36043f5", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, - { packId: 3, name: "Winking", description: "A winking cat", imageMxc: "mxc://t2bot.io/7a947ba45c90a96e35edfd8873acb9e6", thumbnailMxc: "mxc://t2bot.io/7a947ba45c90a96e35edfd8873acb9e6", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Heart Eyes", description: "This cat loves what it sees", imageMxc: "mxc://t2bot.io/a60555fd09e42be02119a4a75db993e7", thumbnailMxc: "mxc://t2bot.io/a60555fd09e42be02119a4a75db993e7", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Brown and Pink", description: "A cute brown and pink cat", imageMxc: "mxc://t2bot.io/936279aba6da2672a92005df5218a4be", thumbnailMxc: "mxc://t2bot.io/936279aba6da2672a92005df5218a4be", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Blushing", description: "Something embarrassing must have happened", imageMxc: "mxc://t2bot.io/63cac43a98ed00e294fdf741688cb495", thumbnailMxc: "mxc://t2bot.io/63cac43a98ed00e294fdf741688cb495", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Angry", description: "This cat is not happy", imageMxc: "mxc://t2bot.io/25b956c807a97cf9530abd29b886159b", thumbnailMxc: "mxc://t2bot.io/25b956c807a97cf9530abd29b886159b", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Disappointed", description: "This cat is disappointed", imageMxc: "mxc://t2bot.io/079440f60dd90b363773cd544422c19f", thumbnailMxc: "mxc://t2bot.io/079440f60dd90b363773cd544422c19f", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Very Happy", description: "A happy cat is a good cat!", imageMxc: "mxc://t2bot.io/cb803dbff4fb2cbf7b1306a4a1baf81d", thumbnailMxc: "mxc://t2bot.io/cb803dbff4fb2cbf7b1306a4a1baf81d", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Sad", description: "A sad cat :(", imageMxc: "mxc://t2bot.io/de5e985f346eecd4eb43eb942303759a", thumbnailMxc: "mxc://t2bot.io/de5e985f346eecd4eb43eb942303759a", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Happy", description: "A happy cat", imageMxc: "mxc://t2bot.io/01e06e2489185ac5b1fc73c904e1d5f0", thumbnailMxc: "mxc://t2bot.io/01e06e2489185ac5b1fc73c904e1d5f0", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Nope", description: "The cat has turned away, presumably to express disapproval", imageMxc: "mxc://t2bot.io/022d86b55f623505667e5fb5fcc49cff", thumbnailMxc: "mxc://t2bot.io/022d86b55f623505667e5fb5fcc49cff", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Shocked", description: "WHAT HAPPENED!?", imageMxc: "mxc://t2bot.io/1413113b209a869ec42a52fbc0a8fa49", thumbnailMxc: "mxc://t2bot.io/1413113b209a869ec42a52fbc0a8fa49", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Blue Eyed Wink", description: "A cute blue-eyed cat is winking", imageMxc: "mxc://t2bot.io/9beee7587cb9db56e6fabf01b0a8d168", thumbnailMxc: "mxc://t2bot.io/9beee7587cb9db56e6fabf01b0a8d168", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Sad", description: "A sad cat :(", imageMxc: "mxc://t2bot.io/3bbf2d94865298661af30816ce4a7a75", thumbnailMxc: "mxc://t2bot.io/3bbf2d94865298661af30816ce4a7a75", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Disappointed", description: "This cat is disappointed", imageMxc: "mxc://t2bot.io/45a1b772d51ddbc374768940b4a80f3c", thumbnailMxc: "mxc://t2bot.io/45a1b772d51ddbc374768940b4a80f3c", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: 3, name: "Happy", description: "A happy cat", imageMxc: "mxc://t2bot.io/106b63dbb114ca121d09765971a8b093", thumbnailMxc: "mxc://t2bot.io/106b63dbb114ca121d09765971a8b093", mimetype: "image/png", thumbnailWidth: 512, thumbnailHeight: 512 }, + { + packId: 3, + name: "Winking", + description: "A winking cat", + imageMxc: "mxc://t2bot.io/7a947ba45c90a96e35edfd8873acb9e6", + thumbnailMxc: "mxc://t2bot.io/7a947ba45c90a96e35edfd8873acb9e6", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Heart Eyes", + description: "This cat loves what it sees", + imageMxc: "mxc://t2bot.io/a60555fd09e42be02119a4a75db993e7", + thumbnailMxc: "mxc://t2bot.io/a60555fd09e42be02119a4a75db993e7", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Brown and Pink", + description: "A cute brown and pink cat", + imageMxc: "mxc://t2bot.io/936279aba6da2672a92005df5218a4be", + thumbnailMxc: "mxc://t2bot.io/936279aba6da2672a92005df5218a4be", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Blushing", + description: "Something embarrassing must have happened", + imageMxc: "mxc://t2bot.io/63cac43a98ed00e294fdf741688cb495", + thumbnailMxc: "mxc://t2bot.io/63cac43a98ed00e294fdf741688cb495", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Angry", + description: "This cat is not happy", + imageMxc: "mxc://t2bot.io/25b956c807a97cf9530abd29b886159b", + thumbnailMxc: "mxc://t2bot.io/25b956c807a97cf9530abd29b886159b", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Disappointed", + description: "This cat is disappointed", + imageMxc: "mxc://t2bot.io/079440f60dd90b363773cd544422c19f", + thumbnailMxc: "mxc://t2bot.io/079440f60dd90b363773cd544422c19f", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Very Happy", + description: "A happy cat is a good cat!", + imageMxc: "mxc://t2bot.io/cb803dbff4fb2cbf7b1306a4a1baf81d", + thumbnailMxc: "mxc://t2bot.io/cb803dbff4fb2cbf7b1306a4a1baf81d", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Sad", + description: "A sad cat :(", + imageMxc: "mxc://t2bot.io/de5e985f346eecd4eb43eb942303759a", + thumbnailMxc: "mxc://t2bot.io/de5e985f346eecd4eb43eb942303759a", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Happy", + description: "A happy cat", + imageMxc: "mxc://t2bot.io/01e06e2489185ac5b1fc73c904e1d5f0", + thumbnailMxc: "mxc://t2bot.io/01e06e2489185ac5b1fc73c904e1d5f0", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Nope", + description: "The cat has turned away, presumably to express disapproval", + imageMxc: "mxc://t2bot.io/022d86b55f623505667e5fb5fcc49cff", + thumbnailMxc: "mxc://t2bot.io/022d86b55f623505667e5fb5fcc49cff", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Shocked", + description: "WHAT HAPPENED!?", + imageMxc: "mxc://t2bot.io/1413113b209a869ec42a52fbc0a8fa49", + thumbnailMxc: "mxc://t2bot.io/1413113b209a869ec42a52fbc0a8fa49", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Blue Eyed Wink", + description: "A cute blue-eyed cat is winking", + imageMxc: "mxc://t2bot.io/9beee7587cb9db56e6fabf01b0a8d168", + thumbnailMxc: "mxc://t2bot.io/9beee7587cb9db56e6fabf01b0a8d168", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Sad", + description: "A sad cat :(", + imageMxc: "mxc://t2bot.io/3bbf2d94865298661af30816ce4a7a75", + thumbnailMxc: "mxc://t2bot.io/3bbf2d94865298661af30816ce4a7a75", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Disappointed", + description: "This cat is disappointed", + imageMxc: "mxc://t2bot.io/45a1b772d51ddbc374768940b4a80f3c", + thumbnailMxc: "mxc://t2bot.io/45a1b772d51ddbc374768940b4a80f3c", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: 3, + name: "Happy", + description: "A happy cat", + imageMxc: "mxc://t2bot.io/106b63dbb114ca121d09765971a8b093", + thumbnailMxc: "mxc://t2bot.io/106b63dbb114ca121d09765971a8b093", + mimetype: "image/png", + thumbnailWidth: 512, + thumbnailHeight: 512 + }, ])); }, down: (queryInterface: QueryInterface) => { diff --git a/src/db/migrations/20180617113345-AddLoadingArtistStickerPack.ts b/src/db/migrations/20180617113345-AddLoadingArtistStickerPack.ts index 8635ab4..a063b15 100644 --- a/src/db/migrations/20180617113345-AddLoadingArtistStickerPack.ts +++ b/src/db/migrations/20180617113345-AddLoadingArtistStickerPack.ts @@ -20,48 +20,426 @@ export default { ])) .then(packId => { return queryInterface.bulkInsert("dimension_stickers", [ - { packId: packId, name: 'Argue', description: 'Two people arguing in a heated debate', imageMxc: 'mxc://t2bot.io/cfe97ad50ee1f35de322306f58d9d4a1', thumbnailMxc: 'mxc://t2bot.io/cfe97ad50ee1f35de322306f58d9d4a1', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Awake', description: 'Lying awake at night', imageMxc: 'mxc://t2bot.io/0046a75ce93d1322cf9577ea11a49f04', thumbnailMxc: 'mxc://t2bot.io/0046a75ce93d1322cf9577ea11a49f04', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Bed', description: 'Crying yourself to sleep', imageMxc: 'mxc://t2bot.io/fadda48f250674af3f7e3bee55c91b80', thumbnailMxc: 'mxc://t2bot.io/fadda48f250674af3f7e3bee55c91b80', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Bird', description: 'Angry bird', imageMxc: 'mxc://t2bot.io/8a8603d8d6c375e0e92171fc24e37e49', thumbnailMxc: 'mxc://t2bot.io/35eb7a9e416bc5634fac5c9f0f4b0ced', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Blush', description: 'Blushing and looking away', imageMxc: 'mxc://t2bot.io/535d46b7834885bf13bd9ff833561ce5', thumbnailMxc: 'mxc://t2bot.io/535d46b7834885bf13bd9ff833561ce5', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Celebrate', description: 'Opening up a bottle of champagne', imageMxc: 'mxc://t2bot.io/1377f37c0b6a5c401483c4be99e48938', thumbnailMxc: 'mxc://t2bot.io/1377f37c0b6a5c401483c4be99e48938', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Cold', description: 'Shivering in the cold', imageMxc: 'mxc://t2bot.io/3ba28460aae70d33dd061b3a000f5ee2', thumbnailMxc: 'mxc://t2bot.io/3ba28460aae70d33dd061b3a000f5ee2', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Dead Inside', description: 'I feel dead inside', imageMxc: 'mxc://t2bot.io/15196e0235422de488f2d3909054ab82', thumbnailMxc: 'mxc://t2bot.io/15196e0235422de488f2d3909054ab82', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Detective', description: 'A pondering detective', imageMxc: 'mxc://t2bot.io/5042e46fa9d514694c6cbd0a8a1b23b5', thumbnailMxc: 'mxc://t2bot.io/5042e46fa9d514694c6cbd0a8a1b23b5', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Distraught', description: 'Screaming on my knees', imageMxc: 'mxc://t2bot.io/a4173bc5a9ea16528c8442e800513597', thumbnailMxc: 'mxc://t2bot.io/a4173bc5a9ea16528c8442e800513597', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Donut', description: 'Eating a donut', imageMxc: 'mxc://t2bot.io/e3ca7aaa7318c141fd8d2f0a7cd2c52e', thumbnailMxc: 'mxc://t2bot.io/e3ca7aaa7318c141fd8d2f0a7cd2c52e', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Drawing', description: 'Drawing on a sketchbook', imageMxc: 'mxc://t2bot.io/a6327bc46b23684398ccbfcbedd78c66', thumbnailMxc: 'mxc://t2bot.io/a6327bc46b23684398ccbfcbedd78c66', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Driving', description: 'Angrily driving', imageMxc: 'mxc://t2bot.io/3275e023a6683075a58eea3d991e4673', thumbnailMxc: 'mxc://t2bot.io/3275e023a6683075a58eea3d991e4673', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Excellent', description: 'Pleased with the results', imageMxc: 'mxc://t2bot.io/311ae79d33cdde34ca4241d40a0e6aaf', thumbnailMxc: 'mxc://t2bot.io/311ae79d33cdde34ca4241d40a0e6aaf', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Flower', description: 'Smells like bees', imageMxc: 'mxc://t2bot.io/b6ac9eb8e5377b54f61cd8de9b36edc7', thumbnailMxc: 'mxc://t2bot.io/b6ac9eb8e5377b54f61cd8de9b36edc7', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Gaming', description: 'Playing a game', imageMxc: 'mxc://t2bot.io/bfd7e0fe2ef7af961cb93ae28c0fda69', thumbnailMxc: 'mxc://t2bot.io/bfd7e0fe2ef7af961cb93ae28c0fda69', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Get Outta Here', description: 'Waving it off with a laugh', imageMxc: 'mxc://t2bot.io/a77772dde35fc7a67a782dfc0e8e9ed9', thumbnailMxc: 'mxc://t2bot.io/a77772dde35fc7a67a782dfc0e8e9ed9', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Heartbroken', description: 'My heart has broken', imageMxc: 'mxc://t2bot.io/d36a5f1255c5f34d5e2e5985d0c38a68', thumbnailMxc: 'mxc://t2bot.io/d36a5f1255c5f34d5e2e5985d0c38a68', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Hi', description: 'A friendly wave', imageMxc: 'mxc://t2bot.io/9b74aaaec56ebb8b4d483fc1840827be', thumbnailMxc: 'mxc://t2bot.io/9b74aaaec56ebb8b4d483fc1840827be', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Hide', description: 'Nervously tries to hide away and look discreet', imageMxc: 'mxc://t2bot.io/032d8648065f36a2155654b3d59ab8bf', thumbnailMxc: 'mxc://t2bot.io/032d8648065f36a2155654b3d59ab8bf', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'J', description: 'Mouth agape', imageMxc: 'mxc://t2bot.io/c27889f840a49eb42781ffa1fe692b0d', thumbnailMxc: 'mxc://t2bot.io/c27889f840a49eb42781ffa1fe692b0d', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Keyboard cat', description: 'A cat sits at a keybaord with a confused look', imageMxc: 'mxc://t2bot.io/7d79434b361aa00f9d7de99a4722cc9f', thumbnailMxc: 'mxc://t2bot.io/7d79434b361aa00f9d7de99a4722cc9f', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Lewd', description: 'Blushingly overwhelmed', imageMxc: 'mxc://t2bot.io/3076746d3bda4a0bd581bf1bcd3f04de', thumbnailMxc: 'mxc://t2bot.io/3076746d3bda4a0bd581bf1bcd3f04de', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Money', description: 'Flicking through a wad of cash grinningly', imageMxc: 'mxc://t2bot.io/9c714fb6fa2c12ed9c00a71e442e50fb', thumbnailMxc: 'mxc://t2bot.io/9c714fb6fa2c12ed9c00a71e442e50fb', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Ponder', description: 'Thinking very hard', imageMxc: 'mxc://t2bot.io/921a1ea7ef2c33c730e1b02c06a0818f', thumbnailMxc: 'mxc://t2bot.io/921a1ea7ef2c33c730e1b02c06a0818f', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Popcorn', description: 'Frantically eats popcorn', imageMxc: 'mxc://t2bot.io/5a0d63ca0546135cc361f9a48300a198', thumbnailMxc: 'mxc://t2bot.io/5a0d63ca0546135cc361f9a48300a198', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Relief', description: 'Clutching phone with nervous exhale of relief', imageMxc: 'mxc://t2bot.io/3880de09c46442e090cf1918abc2e511', thumbnailMxc: 'mxc://t2bot.io/3880de09c46442e090cf1918abc2e511', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Say Wha', description: 'Looks to the camera with a \'are you serious?\' look', imageMxc: 'mxc://t2bot.io/55d8e2b01d19f0405a59397caca3a648', thumbnailMxc: 'mxc://t2bot.io/55d8e2b01d19f0405a59397caca3a648', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Scared Cam', description: 'Clutching video camera with a terrified look', imageMxc: 'mxc://t2bot.io/f3b6726c375ca1888a05c47f33a43d18', thumbnailMxc: 'mxc://t2bot.io/f3b6726c375ca1888a05c47f33a43d18', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Scream', description: 'Head back screaming with arms in the air', imageMxc: 'mxc://t2bot.io/d0d65ccff76788eff4450f590917267e', thumbnailMxc: 'mxc://t2bot.io/d0d65ccff76788eff4450f590917267e', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Sick', description: 'Clutching bucket about to vomit', imageMxc: 'mxc://t2bot.io/6bcb81672ed49eaab462001cece30a3f', thumbnailMxc: 'mxc://t2bot.io/6bcb81672ed49eaab462001cece30a3f', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Smug', description: 'Grinning to the side with sparkles', imageMxc: 'mxc://t2bot.io/0313a9f2d54f0db0a282f05a2a1a2e69', thumbnailMxc: 'mxc://t2bot.io/0313a9f2d54f0db0a282f05a2a1a2e69', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Spider', description: 'Smiling spider with a hat', imageMxc: 'mxc://t2bot.io/0404bf77e66df2b5664d024f3c50a269', thumbnailMxc: 'mxc://t2bot.io/0404bf77e66df2b5664d024f3c50a269', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Spy', description: 'Looking from behind a wall suspiciously', imageMxc: 'mxc://t2bot.io/d6f4b554e2c8265416c1a877b2aba6ea', thumbnailMxc: 'mxc://t2bot.io/d6f4b554e2c8265416c1a877b2aba6ea', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Srs', description: 'Fed up and hunched over with a blank stare', imageMxc: 'mxc://t2bot.io/a55955aadcda3a7910976903e20dc76e', thumbnailMxc: 'mxc://t2bot.io/a55955aadcda3a7910976903e20dc76e', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Strong', description: 'Tough guy with shades and stubble', imageMxc: 'mxc://t2bot.io/efdd23e0d2822fd98946e0d764230d8b', thumbnailMxc: 'mxc://t2bot.io/efdd23e0d2822fd98946e0d764230d8b', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Sweat', description: 'A nervous panicky sweaty forced smile', imageMxc: 'mxc://t2bot.io/63387d6c81ed752632781bbdb52faef2', thumbnailMxc: 'mxc://t2bot.io/63387d6c81ed752632781bbdb52faef2', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'VR', description: 'Playing with virtual reality', imageMxc: 'mxc://t2bot.io/d076a025e0d67087f8be75f9c1fdde95', thumbnailMxc: 'mxc://t2bot.io/d076a025e0d67087f8be75f9c1fdde95', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Wait', description: 'Holding phone waiting for a response with a frown', imageMxc: 'mxc://t2bot.io/fcd6dbb649010faef17414f7c6c5611e', thumbnailMxc: 'mxc://t2bot.io/fcd6dbb649010faef17414f7c6c5611e', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'WTF', description: 'Screaming with disgust', imageMxc: 'mxc://t2bot.io/c860ad07370d5986f25ab5427e2d3146', thumbnailMxc: 'mxc://t2bot.io/c860ad07370d5986f25ab5427e2d3146', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Yeah', description: 'Pointing toward with enthusiasm', imageMxc: 'mxc://t2bot.io/4676643f47a448654e7ba55d0c61a9fd', thumbnailMxc: 'mxc://t2bot.io/4676643f47a448654e7ba55d0c61a9fd', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, - { packId: packId, name: 'Yell', description: 'Angrily yelling', imageMxc: 'mxc://t2bot.io/75b451684e4ae0d53427b5c5db2f2953', thumbnailMxc: 'mxc://t2bot.io/75b451684e4ae0d53427b5c5db2f2953', mimetype: 'image/png', thumbnailWidth: 512, thumbnailHeight: 512 }, + { + packId: packId, + name: 'Argue', + description: 'Two people arguing in a heated debate', + imageMxc: 'mxc://t2bot.io/cfe97ad50ee1f35de322306f58d9d4a1', + thumbnailMxc: 'mxc://t2bot.io/cfe97ad50ee1f35de322306f58d9d4a1', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Awake', + description: 'Lying awake at night', + imageMxc: 'mxc://t2bot.io/0046a75ce93d1322cf9577ea11a49f04', + thumbnailMxc: 'mxc://t2bot.io/0046a75ce93d1322cf9577ea11a49f04', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Bed', + description: 'Crying yourself to sleep', + imageMxc: 'mxc://t2bot.io/fadda48f250674af3f7e3bee55c91b80', + thumbnailMxc: 'mxc://t2bot.io/fadda48f250674af3f7e3bee55c91b80', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Bird', + description: 'Angry bird', + imageMxc: 'mxc://t2bot.io/8a8603d8d6c375e0e92171fc24e37e49', + thumbnailMxc: 'mxc://t2bot.io/35eb7a9e416bc5634fac5c9f0f4b0ced', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Blush', + description: 'Blushing and looking away', + imageMxc: 'mxc://t2bot.io/535d46b7834885bf13bd9ff833561ce5', + thumbnailMxc: 'mxc://t2bot.io/535d46b7834885bf13bd9ff833561ce5', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Celebrate', + description: 'Opening up a bottle of champagne', + imageMxc: 'mxc://t2bot.io/1377f37c0b6a5c401483c4be99e48938', + thumbnailMxc: 'mxc://t2bot.io/1377f37c0b6a5c401483c4be99e48938', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Cold', + description: 'Shivering in the cold', + imageMxc: 'mxc://t2bot.io/3ba28460aae70d33dd061b3a000f5ee2', + thumbnailMxc: 'mxc://t2bot.io/3ba28460aae70d33dd061b3a000f5ee2', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Dead Inside', + description: 'I feel dead inside', + imageMxc: 'mxc://t2bot.io/15196e0235422de488f2d3909054ab82', + thumbnailMxc: 'mxc://t2bot.io/15196e0235422de488f2d3909054ab82', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Detective', + description: 'A pondering detective', + imageMxc: 'mxc://t2bot.io/5042e46fa9d514694c6cbd0a8a1b23b5', + thumbnailMxc: 'mxc://t2bot.io/5042e46fa9d514694c6cbd0a8a1b23b5', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Distraught', + description: 'Screaming on my knees', + imageMxc: 'mxc://t2bot.io/a4173bc5a9ea16528c8442e800513597', + thumbnailMxc: 'mxc://t2bot.io/a4173bc5a9ea16528c8442e800513597', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Donut', + description: 'Eating a donut', + imageMxc: 'mxc://t2bot.io/e3ca7aaa7318c141fd8d2f0a7cd2c52e', + thumbnailMxc: 'mxc://t2bot.io/e3ca7aaa7318c141fd8d2f0a7cd2c52e', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Drawing', + description: 'Drawing on a sketchbook', + imageMxc: 'mxc://t2bot.io/a6327bc46b23684398ccbfcbedd78c66', + thumbnailMxc: 'mxc://t2bot.io/a6327bc46b23684398ccbfcbedd78c66', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Driving', + description: 'Angrily driving', + imageMxc: 'mxc://t2bot.io/3275e023a6683075a58eea3d991e4673', + thumbnailMxc: 'mxc://t2bot.io/3275e023a6683075a58eea3d991e4673', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Excellent', + description: 'Pleased with the results', + imageMxc: 'mxc://t2bot.io/311ae79d33cdde34ca4241d40a0e6aaf', + thumbnailMxc: 'mxc://t2bot.io/311ae79d33cdde34ca4241d40a0e6aaf', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Flower', + description: 'Smells like bees', + imageMxc: 'mxc://t2bot.io/b6ac9eb8e5377b54f61cd8de9b36edc7', + thumbnailMxc: 'mxc://t2bot.io/b6ac9eb8e5377b54f61cd8de9b36edc7', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Gaming', + description: 'Playing a game', + imageMxc: 'mxc://t2bot.io/bfd7e0fe2ef7af961cb93ae28c0fda69', + thumbnailMxc: 'mxc://t2bot.io/bfd7e0fe2ef7af961cb93ae28c0fda69', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Get Outta Here', + description: 'Waving it off with a laugh', + imageMxc: 'mxc://t2bot.io/a77772dde35fc7a67a782dfc0e8e9ed9', + thumbnailMxc: 'mxc://t2bot.io/a77772dde35fc7a67a782dfc0e8e9ed9', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Heartbroken', + description: 'My heart has broken', + imageMxc: 'mxc://t2bot.io/d36a5f1255c5f34d5e2e5985d0c38a68', + thumbnailMxc: 'mxc://t2bot.io/d36a5f1255c5f34d5e2e5985d0c38a68', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Hi', + description: 'A friendly wave', + imageMxc: 'mxc://t2bot.io/9b74aaaec56ebb8b4d483fc1840827be', + thumbnailMxc: 'mxc://t2bot.io/9b74aaaec56ebb8b4d483fc1840827be', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Hide', + description: 'Nervously tries to hide away and look discreet', + imageMxc: 'mxc://t2bot.io/032d8648065f36a2155654b3d59ab8bf', + thumbnailMxc: 'mxc://t2bot.io/032d8648065f36a2155654b3d59ab8bf', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'J', + description: 'Mouth agape', + imageMxc: 'mxc://t2bot.io/c27889f840a49eb42781ffa1fe692b0d', + thumbnailMxc: 'mxc://t2bot.io/c27889f840a49eb42781ffa1fe692b0d', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Keyboard cat', + description: 'A cat sits at a keybaord with a confused look', + imageMxc: 'mxc://t2bot.io/7d79434b361aa00f9d7de99a4722cc9f', + thumbnailMxc: 'mxc://t2bot.io/7d79434b361aa00f9d7de99a4722cc9f', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Lewd', + description: 'Blushingly overwhelmed', + imageMxc: 'mxc://t2bot.io/3076746d3bda4a0bd581bf1bcd3f04de', + thumbnailMxc: 'mxc://t2bot.io/3076746d3bda4a0bd581bf1bcd3f04de', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Money', + description: 'Flicking through a wad of cash grinningly', + imageMxc: 'mxc://t2bot.io/9c714fb6fa2c12ed9c00a71e442e50fb', + thumbnailMxc: 'mxc://t2bot.io/9c714fb6fa2c12ed9c00a71e442e50fb', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Ponder', + description: 'Thinking very hard', + imageMxc: 'mxc://t2bot.io/921a1ea7ef2c33c730e1b02c06a0818f', + thumbnailMxc: 'mxc://t2bot.io/921a1ea7ef2c33c730e1b02c06a0818f', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Popcorn', + description: 'Frantically eats popcorn', + imageMxc: 'mxc://t2bot.io/5a0d63ca0546135cc361f9a48300a198', + thumbnailMxc: 'mxc://t2bot.io/5a0d63ca0546135cc361f9a48300a198', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Relief', + description: 'Clutching phone with nervous exhale of relief', + imageMxc: 'mxc://t2bot.io/3880de09c46442e090cf1918abc2e511', + thumbnailMxc: 'mxc://t2bot.io/3880de09c46442e090cf1918abc2e511', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Say Wha', + description: 'Looks to the camera with a \'are you serious?\' look', + imageMxc: 'mxc://t2bot.io/55d8e2b01d19f0405a59397caca3a648', + thumbnailMxc: 'mxc://t2bot.io/55d8e2b01d19f0405a59397caca3a648', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Scared Cam', + description: 'Clutching video camera with a terrified look', + imageMxc: 'mxc://t2bot.io/f3b6726c375ca1888a05c47f33a43d18', + thumbnailMxc: 'mxc://t2bot.io/f3b6726c375ca1888a05c47f33a43d18', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Scream', + description: 'Head back screaming with arms in the air', + imageMxc: 'mxc://t2bot.io/d0d65ccff76788eff4450f590917267e', + thumbnailMxc: 'mxc://t2bot.io/d0d65ccff76788eff4450f590917267e', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Sick', + description: 'Clutching bucket about to vomit', + imageMxc: 'mxc://t2bot.io/6bcb81672ed49eaab462001cece30a3f', + thumbnailMxc: 'mxc://t2bot.io/6bcb81672ed49eaab462001cece30a3f', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Smug', + description: 'Grinning to the side with sparkles', + imageMxc: 'mxc://t2bot.io/0313a9f2d54f0db0a282f05a2a1a2e69', + thumbnailMxc: 'mxc://t2bot.io/0313a9f2d54f0db0a282f05a2a1a2e69', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Spider', + description: 'Smiling spider with a hat', + imageMxc: 'mxc://t2bot.io/0404bf77e66df2b5664d024f3c50a269', + thumbnailMxc: 'mxc://t2bot.io/0404bf77e66df2b5664d024f3c50a269', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Spy', + description: 'Looking from behind a wall suspiciously', + imageMxc: 'mxc://t2bot.io/d6f4b554e2c8265416c1a877b2aba6ea', + thumbnailMxc: 'mxc://t2bot.io/d6f4b554e2c8265416c1a877b2aba6ea', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Srs', + description: 'Fed up and hunched over with a blank stare', + imageMxc: 'mxc://t2bot.io/a55955aadcda3a7910976903e20dc76e', + thumbnailMxc: 'mxc://t2bot.io/a55955aadcda3a7910976903e20dc76e', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Strong', + description: 'Tough guy with shades and stubble', + imageMxc: 'mxc://t2bot.io/efdd23e0d2822fd98946e0d764230d8b', + thumbnailMxc: 'mxc://t2bot.io/efdd23e0d2822fd98946e0d764230d8b', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Sweat', + description: 'A nervous panicky sweaty forced smile', + imageMxc: 'mxc://t2bot.io/63387d6c81ed752632781bbdb52faef2', + thumbnailMxc: 'mxc://t2bot.io/63387d6c81ed752632781bbdb52faef2', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'VR', + description: 'Playing with virtual reality', + imageMxc: 'mxc://t2bot.io/d076a025e0d67087f8be75f9c1fdde95', + thumbnailMxc: 'mxc://t2bot.io/d076a025e0d67087f8be75f9c1fdde95', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Wait', + description: 'Holding phone waiting for a response with a frown', + imageMxc: 'mxc://t2bot.io/fcd6dbb649010faef17414f7c6c5611e', + thumbnailMxc: 'mxc://t2bot.io/fcd6dbb649010faef17414f7c6c5611e', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'WTF', + description: 'Screaming with disgust', + imageMxc: 'mxc://t2bot.io/c860ad07370d5986f25ab5427e2d3146', + thumbnailMxc: 'mxc://t2bot.io/c860ad07370d5986f25ab5427e2d3146', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Yeah', + description: 'Pointing toward with enthusiasm', + imageMxc: 'mxc://t2bot.io/4676643f47a448654e7ba55d0c61a9fd', + thumbnailMxc: 'mxc://t2bot.io/4676643f47a448654e7ba55d0c61a9fd', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, + { + packId: packId, + name: 'Yell', + description: 'Angrily yelling', + imageMxc: 'mxc://t2bot.io/75b451684e4ae0d53427b5c5db2f2953', + thumbnailMxc: 'mxc://t2bot.io/75b451684e4ae0d53427b5c5db2f2953', + mimetype: 'image/png', + thumbnailWidth: 512, + thumbnailHeight: 512 + }, ]); }); }, diff --git a/src/neb/NebProxy.ts b/src/neb/NebProxy.ts index 35a6933..c466383 100644 --- a/src/neb/NebProxy.ts +++ b/src/neb/NebProxy.ts @@ -349,7 +349,7 @@ export class NebProxy { LogService.error("NebProxy", res.body); reject(new Error("Request failed")); } else { - if (typeof(res.body) === "string") res.body = JSON.parse(res.body); + if (typeof (res.body) === "string") res.body = JSON.parse(res.body); resolve(res.body); } });