mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-25 06:17:03 -04:00
show different drafts on bard
This commit is contained in:
parent
b19f753ae0
commit
a0a0e2d492
8 changed files with 103 additions and 12 deletions
|
@ -137,7 +137,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
if(assets.length){
|
||||
let asset = assets.map(a => link(`https://cdn.discordapp.com/app-assets/${application.id}/${a.id}.png?size=4096`, stringwrap(a.name, 23)))
|
||||
let asset = assets.map(a => link(`https://cdn.discordapp.com/app-assets/${application.id}/${a.id}.png?size=4096`, stringwrap(a.name, 23, false)))
|
||||
if(asset.length >= 6) asset[5] = link(`https://canary.discord.com/api/oauth2/applications/${application.id}/assets`, `View ${asset.length - 6} remaining assets`)
|
||||
embed.fields.push({
|
||||
name: `${icon("image")} Assets`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue