This commit is contained in:
derpystuff 2022-10-09 23:22:17 +02:00
parent 7107108cbe
commit 974f5c6a53
5 changed files with 72 additions and 1 deletions

View file

@ -23,7 +23,11 @@ module.exports.timestamp = function(time, flag = "t"){
return `<t:${Math.floor(time/1000)}:${flag}>`
}
module.exports.pill = function(content){
return " **` " + content + " `**"
}
module.exports.iconPill = function(icon, content){
if(!ICONS[icon]) icon = "question"
return ICONS[icon] + " **` " + content + " `**"
return ICONS[icon] + " **` " + content + " `**"
}