mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-17 02:17:05 -04:00
[nextgen] initial cardstack work
This commit is contained in:
parent
858a810e86
commit
043c65a36c
4 changed files with 367 additions and 11 deletions
|
@ -33,11 +33,10 @@ module.exports.iconAsEmojiObject = function(icon){
|
|||
let i = _icon(icon);
|
||||
|
||||
return {
|
||||
id: i.replace(/<:[a-z0-9_]*:([0-9]*)>/g,"$1"),
|
||||
name: i,
|
||||
animated: false, // TODO: fix this for animated emoji if we ever need them
|
||||
id: i.replace(/<a?:[a-z0-9_]*:([0-9]*)>/g,"$1"),
|
||||
name: "i",
|
||||
animated: i.startsWith("<a:")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue