mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
make labscore icon in footer use brand static
This commit is contained in:
parent
07893bba18
commit
c2c8241080
7 changed files with 22 additions and 8 deletions
5
labscore/utils/cdn.js
Normal file
5
labscore/utils/cdn.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
const CDN = "https://cdn.discordapp.com"
|
||||
|
||||
const cdnUrl = (route, size, format) => `${CDN}${route}.${format}?size=${size}`
|
||||
|
||||
module.exports.guildIcon = (id, hash, size = 4096, format = "png") => cdnUrl(`/icons/${id}/${hash}`, size, format)
|
Loading…
Add table
Add a link
Reference in a new issue