mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
show invite splash on inviteinfo
This commit is contained in:
parent
58938c74c2
commit
505ef034b0
1 changed files with 6 additions and 0 deletions
|
@ -37,6 +37,12 @@ module.exports = {
|
|||
inviteCard.fields = inviteCard.fields.concat(featureCards)
|
||||
}
|
||||
|
||||
if(g.splash){
|
||||
inviteCard.image = {
|
||||
url: `https://cdn.discordapp.com/splashes/519734247519420438/${g.splash}.png?size=4096`
|
||||
}
|
||||
}
|
||||
|
||||
return editOrReply(context, inviteCard)
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue