mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
weather
This commit is contained in:
parent
7107108cbe
commit
974f5c6a53
5 changed files with 72 additions and 1 deletions
|
@ -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 + " `**"
|
||||
}
|
|
@ -28,6 +28,10 @@ const Statics = Object.freeze({
|
|||
file: "brands/makesweet.png",
|
||||
revision: 0
|
||||
},
|
||||
openweathermap: {
|
||||
file: "brands/openweathermap.png",
|
||||
revision: 0
|
||||
},
|
||||
photofunia: {
|
||||
file: "brands/photofunia.png",
|
||||
revision: 1
|
||||
|
@ -88,6 +92,7 @@ module.exports.STATICS = Object.freeze({
|
|||
emojipedia: staticAsset(Statics.brands.emojipedia),
|
||||
inferkit: staticAsset(Statics.brands.inferkit),
|
||||
makesweet: staticAsset(Statics.brands.makesweet),
|
||||
openweathermap: staticAsset(Statics.brands.openweathermap),
|
||||
photofunia: staticAsset(Statics.brands.photofunia),
|
||||
reddit: staticAsset(Statics.brands.reddit),
|
||||
tineye: staticAsset(Statics.brands.tineye),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue