gu
Private
Content
35 lines{=():}
{=(COMMENT):Shortners and aliases}
{=(u):{unix}}
{=(isAgo):{in(ago):{args}}}
{=(operation):{if({isAgo}==false):+|-}}
{=(help):> This command accepts the following as parameters: m for minutes, h for hours, d for days, w for weeks, and y for years. The order of these does not matter. Note, months are not supported}
{{{if({args(1)}==help):blacklist({help}):{server(id)}}}}
{=(TimeString):{lower:{if({isAgo}==true):{replace(ago,):{args}}|{args}}}}
{=(COMMENT):Convert arguments to seconds}
{=(COMMENT):accepted arguments include m, h, d, w, y.}
{=(time):{replace(m,*60):{TimeString}}}
{=(time):{replace(h,*3600):{time}}}
{=(time):{replace(d,*86400):{time}}}
{=(time):{replace(w,*604800):{time}}}
{=(time):{replace(y,*31536000):{time}}}
{=(COMMENT):I only know 25 letters of the alphabet... I still don't know y}
{=(TimeCalcString):{join(+):{time}}}
{=(secs):{m:{TimeCalcString}}}
{=(COMMENT):Time Management}
{=(nu):{m:trunc({u}{operation}{m:{TimeCalcString}})}}
{if({args(1)}!=help):Copy the message above to get the Unix timestamp that you require!|}
{c:echo `{nu}`}
{=(ran.colour):{cycle({m:trunc({uses}-1)}):5BCEFA,F5A9B8,FFFFFF,F5A9B8}}
{embed(color):#{ran.colour}}
{=(COMMENT):It's not actually random, it's a trans flag but it cycles 4 colours so that there's not an extra blue, also did i spend 30 mins trying to troubleshoot the fact that i wrote (colour) instead of (color) in the embed block... yes, yes i did}Embed
1 line{"color": 2105893, "title": "Here are the Unix Timestamps you requested!", "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "fields": [{"name": "Short Time", "value": "<t:{nu}:t>\n\\<t:{nu}:t>", "inline": true}, {"name": "Long Time", "value": "<t:{nu}:T>\n\\<t:{nu}:T>", "inline": true}, {"name": "Short Date", "value": "<t:{nu}:d>\n\\<t:{nu}:d>", "inline": true}, {"name": "Long Date", "value": "<t:{nu}:D>\n\\<t:{nu}:D>", "inline": true}, {"name": "Short Date & Time", "value": "<t:{nu}:f>\n\\<t:{nu}:f>", "inline": true}, {"name": "Long Date & Time", "value": "<t:{nu}:F>\n\\<t:{nu}:F>", "inline": true}, {"name": "Relative Time", "value": "<t:{nu}:R>\n\\<t:{nu}:R>", "inline": true}]}Raw JSON
{
"id": 1922202,
"created_at": "2024-01-19T21:59:32.000Z",
"tag_name": "gu",
"nsfw": false,
"owner_id": "1078381687240663083",
"uses": 9,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "956126533762818078",
"sharer": "1078381687240663083",
"content": "{=():}\n{=(COMMENT):Shortners and aliases}\n{=(u):{unix}}\n{=(isAgo):{in(ago):{args}}}\n{=(operation):{if({isAgo}==false):+|-}}\n{=(help):> This command accepts the following as parameters: m for minutes, h for hours, d for days, w for weeks, and y for years. The order of these does not matter. Note, months are not supported}\n{{{if({args(1)}==help):blacklist({help}):{server(id)}}}}\n\n{=(TimeString):{lower:{if({isAgo}==true):{replace(ago,):{args}}|{args}}}}\n\n{=(COMMENT):Convert arguments to seconds}\n{=(COMMENT):accepted arguments include m, h, d, w, y.}\n{=(time):{replace(m,*60):{TimeString}}}\n{=(time):{replace(h,*3600):{time}}}\n{=(time):{replace(d,*86400):{time}}}\n{=(time):{replace(w,*604800):{time}}}\n{=(time):{replace(y,*31536000):{time}}}\n\n{=(COMMENT):I only know 25 letters of the alphabet... I still don't know y}\n\n\n{=(TimeCalcString):{join(+):{time}}}\n\n{=(secs):{m:{TimeCalcString}}}\n\n{=(COMMENT):Time Management}\n\n{=(nu):{m:trunc({u}{operation}{m:{TimeCalcString}})}}\n\n{if({args(1)}!=help):Copy the message above to get the Unix timestamp that you require!|}\n\n{c:echo `{nu}`}\n{=(ran.colour):{cycle({m:trunc({uses}-1)}):5BCEFA,F5A9B8,FFFFFF,F5A9B8}}\n{embed(color):#{ran.colour}}\n{=(COMMENT):It's not actually random, it's a trans flag but it cycles 4 colours so that there's not an extra blue, also did i spend 30 mins trying to troubleshoot the fact that i wrote (colour) instead of (color) in the embed block... yes, yes i did}",
"embed": "{\"color\": 2105893, \"title\": \"Here are the Unix Timestamps you requested!\", \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"fields\": [{\"name\": \"Short Time\", \"value\": \"<t:{nu}:t>\\n\\\\<t:{nu}:t>\", \"inline\": true}, {\"name\": \"Long Time\", \"value\": \"<t:{nu}:T>\\n\\\\<t:{nu}:T>\", \"inline\": true}, {\"name\": \"Short Date\", \"value\": \"<t:{nu}:d>\\n\\\\<t:{nu}:d>\", \"inline\": true}, {\"name\": \"Long Date\", \"value\": \"<t:{nu}:D>\\n\\\\<t:{nu}:D>\", \"inline\": true}, {\"name\": \"Short Date & Time\", \"value\": \"<t:{nu}:f>\\n\\\\<t:{nu}:f>\", \"inline\": true}, {\"name\": \"Long Date & Time\", \"value\": \"<t:{nu}:F>\\n\\\\<t:{nu}:F>\", \"inline\": true}, {\"name\": \"Relative Time\", \"value\": \"<t:{nu}:R>\\n\\\\<t:{nu}:R>\", \"inline\": true}]}",
"last_fetched": "2026-10-20T19:30:42.515Z"
}