mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
add large placeholder sprite
This commit is contained in:
parent
6438e7b63f
commit
da5aa6602c
3 changed files with 10 additions and 5 deletions
|
@ -101,7 +101,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
description: newView.data.codes.map((c)=>pill(c)).join(' ') + "\n\n" + newView.data.metadata.description,
|
description: newView.data.codes.map((c)=>pill(c)).join(' ') + "\n\n" + newView.data.metadata.description,
|
||||||
image: {
|
image: {
|
||||||
url: newIcon || STATIC_ASSETS.emoji_placeholder
|
url: newIcon || STATIC_ASSETS.emoji_placeholder_large
|
||||||
},
|
},
|
||||||
footer: {
|
footer: {
|
||||||
iconUrl: STATICS.emojipedia,
|
iconUrl: STATICS.emojipedia,
|
||||||
|
@ -148,7 +148,7 @@ module.exports = {
|
||||||
currentView = createEmbed("default", context, {
|
currentView = createEmbed("default", context, {
|
||||||
author: {
|
author: {
|
||||||
// TODO: emoji_placeholder_small
|
// TODO: emoji_placeholder_small
|
||||||
iconUrl: ico || STATIC_ASSETS.emoji_placeholder,
|
iconUrl: ico || STATIC_ASSETS.emoji_placeholder_large,
|
||||||
name: `${res.data.name} • Emoji ${res.data.metadata.version.emoji}`,
|
name: `${res.data.name} • Emoji ${res.data.metadata.version.emoji}`,
|
||||||
url: res.data.link
|
url: res.data.link
|
||||||
},
|
},
|
||||||
|
|
|
@ -87,7 +87,7 @@ module.exports = {
|
||||||
currentView = createEmbed("default", context, {
|
currentView = createEmbed("default", context, {
|
||||||
author: {
|
author: {
|
||||||
// TODO: emoji_placeholder_small
|
// TODO: emoji_placeholder_small
|
||||||
iconUrl: newIcon || STATIC_ASSETS.emoji_placeholder,
|
iconUrl: newIcon || STATIC_ASSETS.emoji_placeholder_large,
|
||||||
name: `${newView.data.name} `,
|
name: `${newView.data.name} `,
|
||||||
url: newView.data.link
|
url: newView.data.link
|
||||||
},
|
},
|
||||||
|
@ -144,7 +144,7 @@ module.exports = {
|
||||||
currentView = createEmbed("default", context, {
|
currentView = createEmbed("default", context, {
|
||||||
author: {
|
author: {
|
||||||
// TODO: emoji_placeholder_small
|
// TODO: emoji_placeholder_small
|
||||||
iconUrl: ico || STATIC_ASSETS.emoji_placeholder,
|
iconUrl: ico || STATIC_ASSETS.emoji_placeholder_large,
|
||||||
name: `${res.data.name} `,
|
name: `${res.data.name} `,
|
||||||
url: res.data.link
|
url: res.data.link
|
||||||
},
|
},
|
||||||
|
|
|
@ -30,6 +30,10 @@ const Statics = Object.freeze({
|
||||||
file: "misc/emoji-placeholder.png",
|
file: "misc/emoji-placeholder.png",
|
||||||
revision: 0
|
revision: 0
|
||||||
},
|
},
|
||||||
|
emoji_placeholder_large: {
|
||||||
|
file: "misc/emoji-placeholder-large.png",
|
||||||
|
revision: 0
|
||||||
|
},
|
||||||
},
|
},
|
||||||
brands: {
|
brands: {
|
||||||
anthropic: {
|
anthropic: {
|
||||||
|
@ -277,7 +281,8 @@ module.exports.STATIC_ASSETS = Object.freeze({
|
||||||
chat_loading_small: staticAsset(Statics.assets.chat_loading_small),
|
chat_loading_small: staticAsset(Statics.assets.chat_loading_small),
|
||||||
image_loading: staticAsset(Statics.assets.image_loading),
|
image_loading: staticAsset(Statics.assets.image_loading),
|
||||||
embed_invite_spacer: staticAsset(Statics.assets.embed_invite_spacer),
|
embed_invite_spacer: staticAsset(Statics.assets.embed_invite_spacer),
|
||||||
emoji_placeholder: staticAsset(Statics.assets.emoji_placeholder)
|
emoji_placeholder: staticAsset(Statics.assets.emoji_placeholder),
|
||||||
|
emoji_placeholder_large: staticAsset(Statics.assets.emoji_placeholder_large)
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports.STATIC_ACTIONS = Object.freeze({
|
module.exports.STATIC_ACTIONS = Object.freeze({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue