ursus

Private

Content

38 lines
{=(H):{strf:%H}}

{=(M):{strf:%M}}

{=(currentTime):{strf:%I:%M %p}}


{=(T):{if({H}>=10):{m:600+((24-{H})*60)-{M}}|{m:((10-{H})*60)-{M}}}}
{=(T1):{if({H}>=20):{m:60+((24-{H})*60)-{M}}|{if({H}<=1):{m:((1-{H})*60)-{M}}|{m:((18-{H})*60)-{M}}}}}
{=(T2x):{if({H}>=22):{m:60+((24-{H})*60)-{M}}|{if({H}<=1):{m:((1-{H})*60)-{M}}|{m:((18-{H})*60)-{M}}}}}

{=(HLeft):{m:trunc({T2x}/60)}}
{=(MLeft):{m:{T2x}-({HLeft}*60)}}


{=(Tend):{if({H}<=3):{m:((3-{H})*60)-{M}}|{m:((20-{H})*60)-{M}}}}
{=(Tend2x):{if({H}<=5):{m:((5-{H})*60)-{M}}|{m:((22-{H})*60)-{M}}}}
{=(HendLeft):{m:trunc({Tend2x}/60)}}
{=(MendLeft):{m:{Tend2x}-({HendLeft}*60)}}


{=(status):{or({and({H}>=1|{H}<3):1==1|1==0}|{and({H}>=18|{H}<20):1==1|1==0}):currently happening!|currently over.}}
{=(statusA):{or({and({H}>=1|{H}<3):1==1|1==0}|{and({H}>=18|{H}<20):1==1|1==0}):It will end in ```{HendLeft} hour{if({HendLeft}!=1):s} and {m:round({MendLeft})} minute{if({MendLeft}!=1):s}```|It will start in ```{HLeft} hour{if({HLeft}!=1):s} and {m:round({MLeft})} minute{if({MLeft}!=1):s}```}}

{=(status2x):{or({and({H}>=1|{H}<5):1==1|1==0}|{and({H}>=18|{H}<22):1==1|1==0}):currently happening!|currently over.}}
{=(statusA2x):{or({and({H}>=1|{H}<5):1==1|1==0}|{and({H}>=18|{H}<22):1==1|1==0}):It will end in ```{HendLeft} hour{if({HendLeft}!=1):s} and {m:round({MendLeft})} minute{if({MendLeft}!=1):s}```|It will start in ```{HLeft} hour{if({HLeft}!=1):s} and {m:round({MLeft})} minute{if({MLeft}!=1):s}```}}

{=(comment):Stuff below is for the daily time updating, change urs1 and urs2 with dst for some reason?}

{=(urs1):01:00}
{=(urs2):05:00}
{=(urs3):18:00}
{=(urs4):22:00}
{=(osunix):{m:trunc({unix})}}
{=(urs1next):{m:trunc({strf({strf({osunix}):%F} {urs1}:{strf({osunix}):%S}):%s})}}
{=(urs2next):{m:trunc({strf({strf({osunix}):%F} {urs2}:{strf({osunix}):%S}):%s})}}
{=(urs3next):{m:trunc({strf({strf({osunix}):%F} {urs3}:{strf({osunix}):%S}):%s})}}
{=(urs4next):{m:trunc({strf({strf({osunix}):%F} {urs4}:{strf({osunix}):%S}):%s})}}

Embed

1 line
{"color": 13718820, "title": "Ursus 2x mesos is {status2x}", "author": {"name": "URSUS STATUS", "icon_url": "https://i.imgur.com/FUUjG2J.png"}, "fields": [{"name": "UTC", "value": "1:00 am - 5:00 am\n6:00 pm - 10:00 pm", "inline": true}, {"name": "Your Local Time", "value": "<t:{urs1next}:t> - <t:{urs2next}:t>\n<t:{urs3next}:t> - <t:{urs4next}:t>", "inline": true}], "footer": {"text": "Please try to keep bot spam to a minimum and to use #bot-spam whenever possible. For a list of all tags, use ?listtags"}, "description": "{statusA2x}\nCurrent Time is {currentTime} UTC\n\nUrsus takes place between:"}
Raw JSON
{
  "id": 122727,
  "created_at": "2020-02-21T05:32:50.000Z",
  "tag_name": "ursus",
  "nsfw": false,
  "owner_id": "298236372140032000",
  "uses": 753,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "510677683676643339",
  "sharer": "298236372140032000",
  "content": "{=(H):{strf:%H}}\n\n{=(M):{strf:%M}}\n\n{=(currentTime):{strf:%I:%M %p}}\n\n\n{=(T):{if({H}>=10):{m:600+((24-{H})*60)-{M}}|{m:((10-{H})*60)-{M}}}}\n{=(T1):{if({H}>=20):{m:60+((24-{H})*60)-{M}}|{if({H}<=1):{m:((1-{H})*60)-{M}}|{m:((18-{H})*60)-{M}}}}}\n{=(T2x):{if({H}>=22):{m:60+((24-{H})*60)-{M}}|{if({H}<=1):{m:((1-{H})*60)-{M}}|{m:((18-{H})*60)-{M}}}}}\n\n{=(HLeft):{m:trunc({T2x}/60)}}\n{=(MLeft):{m:{T2x}-({HLeft}*60)}}\n\n\n{=(Tend):{if({H}<=3):{m:((3-{H})*60)-{M}}|{m:((20-{H})*60)-{M}}}}\n{=(Tend2x):{if({H}<=5):{m:((5-{H})*60)-{M}}|{m:((22-{H})*60)-{M}}}}\n{=(HendLeft):{m:trunc({Tend2x}/60)}}\n{=(MendLeft):{m:{Tend2x}-({HendLeft}*60)}}\n\n\n{=(status):{or({and({H}>=1|{H}<3):1==1|1==0}|{and({H}>=18|{H}<20):1==1|1==0}):currently happening!|currently over.}}\n{=(statusA):{or({and({H}>=1|{H}<3):1==1|1==0}|{and({H}>=18|{H}<20):1==1|1==0}):It will end in ```{HendLeft} hour{if({HendLeft}!=1):s} and {m:round({MendLeft})} minute{if({MendLeft}!=1):s}```|It will start in ```{HLeft} hour{if({HLeft}!=1):s} and {m:round({MLeft})} minute{if({MLeft}!=1):s}```}}\n\n{=(status2x):{or({and({H}>=1|{H}<5):1==1|1==0}|{and({H}>=18|{H}<22):1==1|1==0}):currently happening!|currently over.}}\n{=(statusA2x):{or({and({H}>=1|{H}<5):1==1|1==0}|{and({H}>=18|{H}<22):1==1|1==0}):It will end in ```{HendLeft} hour{if({HendLeft}!=1):s} and {m:round({MendLeft})} minute{if({MendLeft}!=1):s}```|It will start in ```{HLeft} hour{if({HLeft}!=1):s} and {m:round({MLeft})} minute{if({MLeft}!=1):s}```}}\n\n{=(comment):Stuff below is for the daily time updating, change urs1 and urs2 with dst for some reason?}\n\n{=(urs1):01:00}\n{=(urs2):05:00}\n{=(urs3):18:00}\n{=(urs4):22:00}\n{=(osunix):{m:trunc({unix})}}\n{=(urs1next):{m:trunc({strf({strf({osunix}):%F} {urs1}:{strf({osunix}):%S}):%s})}}\n{=(urs2next):{m:trunc({strf({strf({osunix}):%F} {urs2}:{strf({osunix}):%S}):%s})}}\n{=(urs3next):{m:trunc({strf({strf({osunix}):%F} {urs3}:{strf({osunix}):%S}):%s})}}\n{=(urs4next):{m:trunc({strf({strf({osunix}):%F} {urs4}:{strf({osunix}):%S}):%s})}}",
  "embed": "{\"color\": 13718820, \"title\": \"Ursus 2x mesos is {status2x}\", \"author\": {\"name\": \"URSUS STATUS\", \"icon_url\": \"https://i.imgur.com/FUUjG2J.png\"}, \"fields\": [{\"name\": \"UTC\", \"value\": \"1:00 am - 5:00 am\\n6:00 pm - 10:00 pm\", \"inline\": true}, {\"name\": \"Your Local Time\", \"value\": \"<t:{urs1next}:t> - <t:{urs2next}:t>\\n<t:{urs3next}:t> - <t:{urs4next}:t>\", \"inline\": true}], \"footer\": {\"text\": \"Please try to keep bot spam to a minimum and to use #bot-spam whenever possible. For a list of all tags, use ?listtags\"}, \"description\": \"{statusA2x}\\nCurrent Time is {currentTime} UTC\\n\\nUrsus takes place between:\"}",
  "last_fetched": "2026-10-20T20:58:32.120Z"
}