avatar [Interaction]
Description
View user's avatar & banner
Trigger
$onInteraction
BDScript Code
$nomention
$onlyIf[$guildID!=;] $allowMention $allowUserMentions[] $reply
$if[$checkContains[$customID;banner-;avatar-]]
$textSplit[$getEmbedData[$channelID;$messageID;1;image];/]
$var[user;$splitText[5]]
$var[banner;$userBanner[$var[user]]]
$var[avatar;$userAvatar[$var[user]]]
$if[$customID==banner-$authorID]
$author[$username]
$authorIcon[$authorAvatar]
$title[Banner]
$description[[Banner URL\]($var[banner]?size=4096)]
$image[$var[banner]?size=4096]
$color[00ff77]
$editButton[avatar-$authorID;Avatar;secondary]
$editButton[banner-$authorID;Banner;primary;yes]
$endif
$if[$customID==avatar-$authorID]
$author[$username]
$authorIcon[$authorAvatar]
$title[Avatar]
$description[[Avatar URL\]($var[avatar]?size=4096)]
$image[$var[avatar]?size=4096]
$color[00ff77]
$editButton[avatar-$authorID;Avatar;primary;yes]
$editButton[banner-$authorID;Banner;secondary]
$endif
$endif
Copied to clipboard!