social
Privateunrated
Content
95 lines{=(COMMENT):########## Anything to eventually edit is between this comment and the other disclaimer. The command is usable as is without changing anything, but I still included *some* settings just if people want to customize it slightly more and to allow those who are not familiar enough with TagScript to still customize it. ##########}
{=(COMMENT):Change your main prefix and the tag's name below.}
{=(prefix):!}
{=(tagname):social}
{=(COMMENT):Sets the embed's side color to the user highest/current color. If you want it to be a specific hex color instead of the user color, make sure to replace the user color block with a hex code and with the hashtag sign before it.}
{embed(color):{user(color)}}
{embed(timestamp):now}
{=(COMMENT):Deletes the user input (aka all the social media links specified)/command invocation. I don't see why anyone would want to remove this, but if you want to, remove the delete block below.}
{delete}
{redirect:589053931704025098}
{=(COMMENT):########## Please don't edit anything below this comment if you don't know what you're doing. Well you can, but don't count on me to fix it then. ##########}
{=(COMMENT):Available social media to set as auto-hyperlinks.}
{=(available):youtube twitch twitter archiveofourown instagram tumblr}
{=(COMMENT):Emojis to use for each social media.}
{=(youtube):<:YouTube:733866137175195699>}
{=(twitch):<:Twitch:733866137007423511>}
{=(twitter):<:Twitter:733866137015812140>}
{=(ao3):<:AO3:740718549332394054>}
{=(instagram):<:Instagram:733866136457838682>}
{=(tumblr):<:Tumblr:734075508425359399>}
{=(COMMENT):Spacing out each social media name to know where it is}
{=(checks):{replace(youtube,. youtube .):{replace(twitch,. twitch .):{replace(twitter,. twitter .):{replace(archiveofourown,. archiveofourown .):{replace(instagram,. instagram .):{replace(tumblr,. tumblr .):{args}}}}}}}}
{=(COMMENT):Checks where each social media's link is. Return their index +1 (because the DNS is spaced out).}
{=(c.youtube):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(youtube):0 {checks} no}}}}}}}}}}
{=(c.twitch):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(twitch):0 {checks} no}}}}}}}}}}
{=(c.twitter):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(twitter):0 {checks} no}}}}}}}}}}
{=(c.archiveofourown):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(archiveofourown):0 {checks} no}}}}}}}}}}
{=(c.instagram):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(instagram):0 {checks} no}}}}}}}}}}
{=(c.tumblr):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(tumblr):0 {checks} no}}}}}}}}}}
{=(COMMENT):Actual hyperlink to return for every social media. Returns nothing if not found.}
{=(l.youtube):{if({c.youtube}!=-1):$%&[{youtube} ・]({args({c.youtube})})$%&}}
{=(l.twitch):{if({c.twitch}!=-1):$%&[{twitch} ・]({args({c.twitch})})$%&}}
{=(l.twitter):{if({c.twitter}!=-1):$%&[{twitter} ・]({args({c.twitter})})$%&}}
{=(l.archiveofourown):{if({c.archiveofourown}!=-1):$%&[{ao3} ・]({args({c.archiveofourown})})$%&}}
{=(l.instagram):{if({c.instagram}!=-1):$%&[{instagram} ・]({args({c.instagram})})$%&}}
{=(l.tumblr):{if({c.tumblr}!=-1):$%&[{tumblr} ・]({args({c.tumblr})})$%&}}
{=(COMMENT):Hyperlinks to return.}
{=(links):{replace($%&, ):{l.youtube}{l.twitch}{l.twitter}{l.archiveofourown}{l.instagram}{l.tumblr}}}
{=(COMMENT):Returns the position of each social media's link in the user arguments in a variable, next to one another.}
{=(c.all):{c.youtube} {c.twitch} {c.twitter} {c.archiveofourown} {c.instagram} {c.tumblr}}
{=(COMMENT):I tried several ways to optimize the part below, but anything I tried was more of a hassle than hardcoding it like how it is now, so *oh well*. It basically returns "empty" when the argument is empty, "good" when the argument *contains* an available social media, otherwise/else returns "no", for each argument, up to 6.}
{=(jargs):{join(,):{args}}}
{=(first):{list(0):{jargs}}}
{=(c.first):{if({first}!=):{any({in({available(1)}):{first}}==true|{in({available(2)}):{first}}==true|{in({available(3)}):{first}}==true|{in({available(4)}):{first}}==true|{in({available(5)}):{first}}==true|{in({available(6)}):{first}}==true):good|no}|empty}}
{=(second):{list(1):{jargs}}}
{=(c.second):{if({second}!=):{any({in({available(1)}):{second}}==true|{in({available(2)}):{second}}==true|{in({available(3)}):{second}}==true|{in({available(4)}):{second}}==true|{in({available(5)}):{second}}==true|{in({available(6)}):{second}}==true):good|no}|empty}}
{=(third):{list(2):{jargs}}}
{=(c.third):{if({third}!=):{any({in({available(1)}):{third}}==true|{in({available(2)}):{third}}==true|{in({available(3)}):{third}}==true|{in({available(4)}):{third}}==true|{in({available(5)}):{third}}==true|{in({available(6)}):{third}}==true):good|no}|empty}}
{=(fourth):{list(3):{jargs}}}
{=(c.fourth):{if({fourth}!=):{any({in({available(1)}):{fourth}}==true|{in({available(2)}):{fourth}}==true|{in({available(3)}):{fourth}}==true|{in({available(4)}):{fourth}}==true|{in({available(5)}):{fourth}}==true|{in({available(6)}):{fourth}}==true):good|no}|empty}}
{=(fifth):{list(4):{jargs}}}
{=(c.fifth):{if({fifth}!=):{any({in({available(1)}):{fifth}}==true|{in({available(2)}):{fifth}}==true|{in({available(3)}):{fifth}}==true|{in({available(4)}):{fifth}}==true|{in({available(5)}):{fifth}}==true|{in({available(6)}):{fifth}}==true):good|no}|empty}}
{=(sixth):{list(5):{jargs}}}
{=(c.sixth):{if({sixth}!=):{any({in({available(1)}):{sixth}}==true|{in({available(2)}):{sixth}}==true|{in({available(3)}):{sixth}}==true|{in({available(4)}):{sixth}}==true|{in({available(5)}):{sixth}}==true|{in({available(6)}):{sixth}}==true):good|no}|empty}}
{=(COMMENT):Puts the above check variables into one variable, to then use it in the "isAnyWrong" variable below. Returns something like "good good no empty empty".}
{=(c.numbers):{c.first} {c.second} {c.third} {c.fourth} {c.fifth} {c.sixth}}
{=(COMMENT):Checks if any link contains a social media that's not in the list, and if there at least was one user argument.}
{=(isAnyWrong):{if({contains(no):{c.numbers}}==true):true|false}}
{=(isArgs):{if({1}!=):true|false}}
{=(msg.Available):{youtube} [youtube](https://www.youtube.com/)・{twitter} [twitter](https://twitter.com/)・{twitch} [twitch](https://twitch.tv/)
{ao3} [ao3](https://www.archiveofourown.org/)・{instagram} [instagram](https://instagram.com/)・{tumblr} [tumblr](https://tumblr.com)}
{=(msg.Javailable):{join(`, `):`{available}`}}
{=(COMMENT):Error messages and final output.}
{=(msg.Wrong):{user(mention)}, you specified a social media link that's not currently available to display with this command.
__Available Social Media:__
{msg.Available}}
{=(msg.NoArgs):{user(mention)}, please specify at least 1 social media link (and up to 6) along with the command.
__Available Social Media:__
{msg.Available}}
{=(output):{if({isArgs}==false):{msg.NoArgs}|{if({isAnyWrong}==true):{msg.Wrong}|{user(mention)}
{links}}}}
{=(COMMENT):Embed fields.}
{=(title):Social Media}
{=(footer):{prefix}{tagname} <links> | Created by Asty'}
{=(thumbnail):{all({isAnyWrong}==false|{isArgs}==true):{replace(size=1024,size=64):{replace(.gif,.png):{user(avatar)}}}}}Embed
1 line{"color": 5198940, "title": "{title}", "footer": {"text": "{footer}"}, "thumbnail": {"url": "{thumbnail}"}, "description": "{output}"}Raw JSON
{
"id": 278795,
"created_at": "2022-04-26T10:37:14.102Z",
"tag_name": "social",
"nsfw": false,
"owner_id": "508726665199747100",
"uses": 10,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "588775705790251056",
"sharer": "508726665199747100",
"content": "{=(COMMENT):########## Anything to eventually edit is between this comment and the other disclaimer. The command is usable as is without changing anything, but I still included *some* settings just if people want to customize it slightly more and to allow those who are not familiar enough with TagScript to still customize it. ##########}\n\n{=(COMMENT):Change your main prefix and the tag's name below.}\n{=(prefix):!}\n{=(tagname):social}\n\n{=(COMMENT):Sets the embed's side color to the user highest/current color. If you want it to be a specific hex color instead of the user color, make sure to replace the user color block with a hex code and with the hashtag sign before it.}\n{embed(color):{user(color)}}\n{embed(timestamp):now}\n\n{=(COMMENT):Deletes the user input (aka all the social media links specified)/command invocation. I don't see why anyone would want to remove this, but if you want to, remove the delete block below.}\n{delete}\n{redirect:589053931704025098}\n\n{=(COMMENT):########## Please don't edit anything below this comment if you don't know what you're doing. Well you can, but don't count on me to fix it then. ##########}\n\n{=(COMMENT):Available social media to set as auto-hyperlinks.}\n{=(available):youtube twitch twitter archiveofourown instagram tumblr}\n\n{=(COMMENT):Emojis to use for each social media.}\n{=(youtube):<:YouTube:733866137175195699>}\n{=(twitch):<:Twitch:733866137007423511>}\n{=(twitter):<:Twitter:733866137015812140>}\n{=(ao3):<:AO3:740718549332394054>}\n{=(instagram):<:Instagram:733866136457838682>}\n{=(tumblr):<:Tumblr:734075508425359399>}\n\n{=(COMMENT):Spacing out each social media name to know where it is}\n{=(checks):{replace(youtube,. youtube .):{replace(twitch,. twitch .):{replace(twitter,. twitter .):{replace(archiveofourown,. archiveofourown .):{replace(instagram,. instagram .):{replace(tumblr,. tumblr .):{args}}}}}}}}\n\n{=(COMMENT):Checks where each social media's link is. Return their index +1 (because the DNS is spaced out).}\n{=(c.youtube):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(youtube):0 {checks} no}}}}}}}}}}\n{=(c.twitch):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(twitch):0 {checks} no}}}}}}}}}}\n{=(c.twitter):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(twitter):0 {checks} no}}}}}}}}}}\n{=(c.archiveofourown):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(archiveofourown):0 {checks} no}}}}}}}}}}\n{=(c.instagram):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(instagram):0 {checks} no}}}}}}}}}}\n{=(c.tumblr):{replace(???,5):{replace(!!!,2):{replace(2,1):{replace(5,!!!):{replace(8,3):{replace(11,4):{replace(14,???):{replace(17,6):{index(tumblr):0 {checks} no}}}}}}}}}}\n\n{=(COMMENT):Actual hyperlink to return for every social media. Returns nothing if not found.}\n{=(l.youtube):{if({c.youtube}!=-1):$%&[{youtube} ・]({args({c.youtube})})$%&}}\n{=(l.twitch):{if({c.twitch}!=-1):$%&[{twitch} ・]({args({c.twitch})})$%&}}\n{=(l.twitter):{if({c.twitter}!=-1):$%&[{twitter} ・]({args({c.twitter})})$%&}}\n{=(l.archiveofourown):{if({c.archiveofourown}!=-1):$%&[{ao3} ・]({args({c.archiveofourown})})$%&}}\n{=(l.instagram):{if({c.instagram}!=-1):$%&[{instagram} ・]({args({c.instagram})})$%&}}\n{=(l.tumblr):{if({c.tumblr}!=-1):$%&[{tumblr} ・]({args({c.tumblr})})$%&}}\n\n{=(COMMENT):Hyperlinks to return.}\n{=(links):{replace($%&, ):{l.youtube}{l.twitch}{l.twitter}{l.archiveofourown}{l.instagram}{l.tumblr}}}\n\n{=(COMMENT):Returns the position of each social media's link in the user arguments in a variable, next to one another.}\n{=(c.all):{c.youtube} {c.twitch} {c.twitter} {c.archiveofourown} {c.instagram} {c.tumblr}}\n\n{=(COMMENT):I tried several ways to optimize the part below, but anything I tried was more of a hassle than hardcoding it like how it is now, so *oh well*. It basically returns \"empty\" when the argument is empty, \"good\" when the argument *contains* an available social media, otherwise/else returns \"no\", for each argument, up to 6.}\n{=(jargs):{join(,):{args}}}\n{=(first):{list(0):{jargs}}}\n{=(c.first):{if({first}!=):{any({in({available(1)}):{first}}==true|{in({available(2)}):{first}}==true|{in({available(3)}):{first}}==true|{in({available(4)}):{first}}==true|{in({available(5)}):{first}}==true|{in({available(6)}):{first}}==true):good|no}|empty}}\n{=(second):{list(1):{jargs}}}\n{=(c.second):{if({second}!=):{any({in({available(1)}):{second}}==true|{in({available(2)}):{second}}==true|{in({available(3)}):{second}}==true|{in({available(4)}):{second}}==true|{in({available(5)}):{second}}==true|{in({available(6)}):{second}}==true):good|no}|empty}}\n{=(third):{list(2):{jargs}}}\n{=(c.third):{if({third}!=):{any({in({available(1)}):{third}}==true|{in({available(2)}):{third}}==true|{in({available(3)}):{third}}==true|{in({available(4)}):{third}}==true|{in({available(5)}):{third}}==true|{in({available(6)}):{third}}==true):good|no}|empty}}\n{=(fourth):{list(3):{jargs}}}\n{=(c.fourth):{if({fourth}!=):{any({in({available(1)}):{fourth}}==true|{in({available(2)}):{fourth}}==true|{in({available(3)}):{fourth}}==true|{in({available(4)}):{fourth}}==true|{in({available(5)}):{fourth}}==true|{in({available(6)}):{fourth}}==true):good|no}|empty}}\n{=(fifth):{list(4):{jargs}}}\n{=(c.fifth):{if({fifth}!=):{any({in({available(1)}):{fifth}}==true|{in({available(2)}):{fifth}}==true|{in({available(3)}):{fifth}}==true|{in({available(4)}):{fifth}}==true|{in({available(5)}):{fifth}}==true|{in({available(6)}):{fifth}}==true):good|no}|empty}}\n{=(sixth):{list(5):{jargs}}}\n{=(c.sixth):{if({sixth}!=):{any({in({available(1)}):{sixth}}==true|{in({available(2)}):{sixth}}==true|{in({available(3)}):{sixth}}==true|{in({available(4)}):{sixth}}==true|{in({available(5)}):{sixth}}==true|{in({available(6)}):{sixth}}==true):good|no}|empty}}\n\n\n{=(COMMENT):Puts the above check variables into one variable, to then use it in the \"isAnyWrong\" variable below. Returns something like \"good good no empty empty\".}\n{=(c.numbers):{c.first} {c.second} {c.third} {c.fourth} {c.fifth} {c.sixth}}\n\n{=(COMMENT):Checks if any link contains a social media that's not in the list, and if there at least was one user argument.}\n{=(isAnyWrong):{if({contains(no):{c.numbers}}==true):true|false}}\n{=(isArgs):{if({1}!=):true|false}}\n\n{=(msg.Available):{youtube} [youtube](https://www.youtube.com/)・{twitter} [twitter](https://twitter.com/)・{twitch} [twitch](https://twitch.tv/)\n{ao3} [ao3](https://www.archiveofourown.org/)・{instagram} [instagram](https://instagram.com/)・{tumblr} [tumblr](https://tumblr.com)}\n{=(msg.Javailable):{join(`, `):`{available}`}}\n\n{=(COMMENT):Error messages and final output.}\n{=(msg.Wrong):{user(mention)}, you specified a social media link that's not currently available to display with this command.\n__Available Social Media:__\n{msg.Available}}\n\n{=(msg.NoArgs):{user(mention)}, please specify at least 1 social media link (and up to 6) along with the command.\n__Available Social Media:__\n{msg.Available}}\n\n{=(output):{if({isArgs}==false):{msg.NoArgs}|{if({isAnyWrong}==true):{msg.Wrong}|{user(mention)}\n{links}}}}\n\n{=(COMMENT):Embed fields.}\n{=(title):Social Media}\n{=(footer):{prefix}{tagname} <links> | Created by Asty'}\n{=(thumbnail):{all({isAnyWrong}==false|{isArgs}==true):{replace(size=1024,size=64):{replace(.gif,.png):{user(avatar)}}}}}",
"embed": "{\"color\": 5198940, \"title\": \"{title}\", \"footer\": {\"text\": \"{footer}\"}, \"thumbnail\": {\"url\": \"{thumbnail}\"}, \"description\": \"{output}\"}",
"last_fetched": "2026-10-20T22:10:42.213Z"
}