time

Privateunrated

Content

50 lines
{=(prefix):.}
{=(commandName):time}

{=(u1spaced):{replace(, ):{lower:{args(1)}}}}
{=(upperfirst):{upper:{u1spaced(2)}}}
{=(joinedLetters):{upperfirst} {u1spaced(3+)}}
{=(la1):{lower:{args(1)}}}

{=(comment):Configure plz}
{=(rolesWithAccess):846491492885069825,857195416969543690}
{=(addedUsers):Semm Kawaii Aiko Xexi Jay Bishal}

{=(error):who's time are you checking????}
{=(u1):{lower:{1}}}
{=({u1}):error}

{=(comment):Users below}

{=(pg):+5}
{=(xexi):-5}
{=(jay):-7}
{=(bishal):-4}
{=(aiko):-7}
{=(yuno):+5}
{=(kawaii):-7}

{=(comment):Time Calculation}

{=(offset):{{u1}}}
{=(hins):3600}
{=(truncTime):{m:trunc({unix}+({hins}*{offset}))}}
{=(output):{strf({truncTime}):%-I:%M %p}}

{=(comment):Embed JSONs}

{=(s.icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}

{=(successJSON):{"title":"User Time","description":"The current time for **{if({la1}==escar):Escar 🤍|{if({la1}==xcry):xCry|{if({la1}==cone):cone|{if({la1}==nickel):nickel|{if({la1}==celine):cxlinee|{if({la1}==ream):ream|{if({la1}==cosmick):cosmick|{if({la1}==admins):the Admins|{if({la1}==sgsjsw):SGSJSW|{if({la1}==pontus):Pontus ♡|{if({la1}==duy):duy|{if({la1}==jaya):MCG Jaya|{if({la1}==den):den ⁷|{join():{joinedLetters}}}}}}}}}}}}}}}** is `{output}`.","author":{"name":"{server}","icon_url":"{s.icon}"},"color":14206975}}
{=(inputErrorJSON):{"title":"Custom Command Error","description":"You didn’t include a valid **Member**. Please run `{prefix}{commandName} config` to see all the available members.","author":{"name":"{server}","icon_url":"{s.icon}"},"color":16738657}}
{=(helpJSON):{"title":"Custom Command Info","description":"Subcommand: `{prefix}{commandName} help`\n**Syntax:** `{prefix}{commandName} <user>`\n**Uses:** {uses}\n","color":16775799,"footer":{"text":"Credit to cosmick4x#4444 for helping."}}}
{=(configJSON):{"title":"Custom Command Info","description":"Subcommand: `{prefix}{commandName} config`\nThese are your current settings:\n**Prefix:** {prefix}\n**Tagname:** {commandName}\n**Roles with access:** <@&{join(>, <@&):{rolesWithAccess}}>\n**Added users:** {join(, ):{addedUsers}}","author":{"name":"{server}","icon_url":"{s.icon}"},"color":16775799,"footer":{"text":"Credit to cosmick4x#4444 for helping."}}}
{=(emptyArgsJSON):{"title":"Custom Command Error","description":"You didn’t include a **Member**. Please run `{prefix}{commandName} config` to see all the available members.","author":{"name":"{server}","icon_url":"{s.icon}"},"color":16738657}}
{=(embedOutput):{if({{u1}}!=error):{successJSON}|{and({{u1}}==error|{args(1)}!=help|{args(1)}!=config|{args}!=):{inputErrorJSON}|{if({args(1)}==help):{helpJSON}|{if({args(1)}==config):{configJSON}|{if({args}==):{emptyArgsJSON}}}}}}}

{=(comment):Do not change anything below!}

{require:{rolesWithAccess}}
{c:cembed {channel(mention)} {embedOutput}}
{override}
{silence}
Raw JSON
{
  "id": 846494,
  "created_at": "2021-05-24T21:25:21.000Z",
  "tag_name": "time",
  "nsfw": false,
  "owner_id": "546537755610447872",
  "uses": 43,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "845404276758675458",
  "sharer": "766644068394467329",
  "content": "{=(prefix):.}\n{=(commandName):time}\n\n{=(u1spaced):{replace(, ):{lower:{args(1)}}}}\n{=(upperfirst):{upper:{u1spaced(2)}}}\n{=(joinedLetters):{upperfirst} {u1spaced(3+)}}\n{=(la1):{lower:{args(1)}}}\n\n{=(comment):Configure plz}\n{=(rolesWithAccess):846491492885069825,857195416969543690}\n{=(addedUsers):Semm Kawaii Aiko Xexi Jay Bishal}\n\n{=(error):who's time are you checking????}\n{=(u1):{lower:{1}}}\n{=({u1}):error}\n\n{=(comment):Users below}\n\n{=(pg):+5}\n{=(xexi):-5}\n{=(jay):-7}\n{=(bishal):-4}\n{=(aiko):-7}\n{=(yuno):+5}\n{=(kawaii):-7}\n\n{=(comment):Time Calculation}\n\n{=(offset):{{u1}}}\n{=(hins):3600}\n{=(truncTime):{m:trunc({unix}+({hins}*{offset}))}}\n{=(output):{strf({truncTime}):%-I:%M %p}}\n\n{=(comment):Embed JSONs}\n\n{=(s.icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}\n\n{=(successJSON):{\"title\":\"User Time\",\"description\":\"The current time for **{if({la1}==escar):Escar 🤍|{if({la1}==xcry):xCry|{if({la1}==cone):cone|{if({la1}==nickel):nickel|{if({la1}==celine):cxlinee|{if({la1}==ream):ream|{if({la1}==cosmick):cosmick|{if({la1}==admins):the Admins|{if({la1}==sgsjsw):SGSJSW|{if({la1}==pontus):Pontus ♡|{if({la1}==duy):duy|{if({la1}==jaya):MCG Jaya|{if({la1}==den):den ⁷|{join():{joinedLetters}}}}}}}}}}}}}}}** is `{output}`.\",\"author\":{\"name\":\"{server}\",\"icon_url\":\"{s.icon}\"},\"color\":14206975}}\n{=(inputErrorJSON):{\"title\":\"Custom Command Error\",\"description\":\"You didn’t include a valid **Member**. Please run `{prefix}{commandName} config` to see all the available members.\",\"author\":{\"name\":\"{server}\",\"icon_url\":\"{s.icon}\"},\"color\":16738657}}\n{=(helpJSON):{\"title\":\"Custom Command Info\",\"description\":\"Subcommand: `{prefix}{commandName} help`\\n**Syntax:** `{prefix}{commandName} <user>`\\n**Uses:** {uses}\\n\",\"color\":16775799,\"footer\":{\"text\":\"Credit to cosmick4x#4444 for helping.\"}}}\n{=(configJSON):{\"title\":\"Custom Command Info\",\"description\":\"Subcommand: `{prefix}{commandName} config`\\nThese are your current settings:\\n**Prefix:** {prefix}\\n**Tagname:** {commandName}\\n**Roles with access:** <@&{join(>, <@&):{rolesWithAccess}}>\\n**Added users:** {join(, ):{addedUsers}}\",\"author\":{\"name\":\"{server}\",\"icon_url\":\"{s.icon}\"},\"color\":16775799,\"footer\":{\"text\":\"Credit to cosmick4x#4444 for helping.\"}}}\n{=(emptyArgsJSON):{\"title\":\"Custom Command Error\",\"description\":\"You didn’t include a **Member**. Please run `{prefix}{commandName} config` to see all the available members.\",\"author\":{\"name\":\"{server}\",\"icon_url\":\"{s.icon}\"},\"color\":16738657}}\n{=(embedOutput):{if({{u1}}!=error):{successJSON}|{and({{u1}}==error|{args(1)}!=help|{args(1)}!=config|{args}!=):{inputErrorJSON}|{if({args(1)}==help):{helpJSON}|{if({args(1)}==config):{configJSON}|{if({args}==):{emptyArgsJSON}}}}}}}\n\n{=(comment):Do not change anything below!}\n\n{require:{rolesWithAccess}}\n{c:cembed {channel(mention)} {embedOutput}}\n{override}\n{silence}",
  "embed": "{}",
  "last_fetched": "2026-10-20T16:32:40.999Z"
}