al
Private
Content
103 lines{=(comment):Put your Carl-bot prefix and Tag name below in the variable for a customized error message}
{=(prefix):!}
{=(tagname):al}
{=(comment):<---------DO NOT TOUCH ANYTHING BELOW THIS POINT--------->}
{=(comment):The list of timezones and houroffsets are paired by value index locations.}
{=(abbrvs):null~ACDT~ACST~ACT~ACWST~ADT~AEDT~AEST~AFT~AKDT~AKST~ALMT~AMST~null~AMT~ANAT~AQTT~ART~null~AST~AWST~AZOST~AZOT~AZT~BDT~BIOT~BIT~BOT~BRST~BRT~null~null~BST~BTT~CAT~CCT~CDT~null~CEST~CET~CHADT~CHAST~CHOT~CHOST~CHST~CHUT~CIST~CIT~CKT~CLST~CLT~COST~COT~CST~null~null~CT~CVT~CWST~CXT~DAVT~DDUT~DFT~EASST~EAST~EAT~null~ECT~EDT~EEST~EET~EGST~EGT~EIT~EST~FET~FJT~FKST~FKT~FNT~GALT~GAMT~GET~GFT~GILT~GIT~GMT~null~GST~GYT~HDT~HAEC~HST~HKT~HMT~HOVT~ICT~IDLW~IDT~IOT~IRDT~IRKT~IRST~IST~null~null~JST~KALT~KGT~KOST~KRAT~KST~LHDT~LHST~LINT~MAGT~MART~MAWT~MDT~MET~MEST~MHT~MIST~MIT~MMT~MSK~null~MST~MUT~MVT~MYT~NCT~NDT~NFT~NOVT~NPT~NST~NT~NUT~NZDT~NZST~OMST~ORAT~PDT~PET~PETT~PGT~PHOT~PHT~PKT~PMDT~PMST~PONT~PST~null~PYST~PYT~RET~ROTT~SAKT~SAMT~SAST~SBT~SCT~SDT~SGT~SLST~SRET~SRT~SST~null~SYOT~TAHT~THA~TFT~TJT~TKT~TLT~TMT~TRT~TOT~TVT~ULAST~ULAT~UTC~UYST~UYT~UZT~VET~VLAT~VOLT~VOST~VUT~WAKT~WAST~WAT~WEST~WET~WIT~WGST~WGT~WST~YAKT~YEKT}
{=(timezones):ACDT~ACST~ACT~ACWST~ADT~AEDT~AEST~AFT~AKDT~AKST~ALMT~AMST~null~AMT~ANAT~AQTT~ART~null~AST~AWST~AZOST~AZOT~AZT~BDT~BIOT~BIT~BOT~BRST~BRT~null~null~BST~BTT~CAT~CCT~CDT~null~CEST~CET~CHADT~CHAST~CHOT~CHOST~CHST~CHUT~CIST~CIT~CKT~CLST~CLT~COST~COT~CST~null~null~CT~CVT~CWST~CXT~DAVT~DDUT~DFT~EASST~EAST~EAT~null~ECT~EDT~EEST~EET~EGST~EGT~EIT~EST~FET~FJT~FKST~FKT~FNT~GALT~GAMT~GET~GFT~GILT~GIT~GMT~null~GST~GYT~HDT~HAEC~HST~HKT~HMT~HOVT~ICT~IDLW~IDT~IOT~IRDT~IRKT~IRST~IST~null~null~JST~KALT~KGT~KOST~KRAT~KST~LHDT~LHST~LINT~MAGT~MART~MAWT~MDT~MET~MEST~MHT~MIST~MIT~MMT~MSK~null~MST~MUT~MVT~MYT~NCT~NDT~NFT~NOVT~NPT~NST~NT~NUT~NZDT~NZST~OMST~ORAT~PDT~PET~PETT~PGT~PHOT~PHT~PKT~PMDT~PMST~PONT~PST~null~PYST~PYT~RET~ROTT~SAKT~SAMT~SAST~SBT~SCT~SDT~SGT~SLST~SRET~SRT~SST~null~SYOT~TAHT~THA~TFT~TJT~TKT~TLT~TMT~TRT~TOT~TVT~ULAST~ULAT~UTC~UYST~UYT~UZT~VET~VLAT~VOLT~VOST~VUT~WAKT~WAST~WAT~WEST~WET~WIT~WGST~WGT~WST~YAKT~YEKT}
{=(offsets):10.5~9.5~-5~8.75~-3~11~10~4.5~-8~-9~6~-3~-4~4~12~5~-3~3~-4~8~0~-1~4~8~6~-12~-4~-2~-3~6~11~1~6~2~6.5~-5~-4~2~1~13.75~12.75~8~9~10~10~-8~8~-10~-3~-4~-4~-5~-6~8~-5~8~-1~8.75~7~7~10~1~-5~-6~3~-4~-5~-4~3~2~0~-1~9~-5~3~12~-3~-4~-2~-6~-9~4~-3~12~-9~0~-2~4~-4~-9~2~-10~8~5~7~7~-12~3~3~4.5~8~3.5~5.5~1~2~9~2~6~11~7~9~11~10.5~14~12~-9.5~5~-6~1~2~12~11~-9.5~6.5~3~8~-7~4~5~8~11~-2.5~11~7~5.75~-3.5~-3.5~-11~13~12~6~5~-7~-5~12~10~13~8~5~-2~-3~11~-8~8~-3~-4~4~-3~11~4~2~11~4~-10~8~5.5~11~-3~-11~8~3~-10~7~5~5~13~9~5~3~13~12~9~8~0~-2~-3~5~-4~10~4~6~11~12~2~1~1~0~7~-2~-3~8~9~5}
{=(quote):{in("):{args(1)}}}
{=(tz):{replace(ƃ, ):{join(ƃ):{if({quote}==true):{args(2):"}|{args(1)}}}}}
{=(ar.remains):{if({quote}==true):{replace(ƃ, ):{join(ƃ):{args(3):"}}}|{args(2+)}}}
{=(uargs1):{upper:{tz}}}
{=(largs1):{lower:{tz}}}
{=(jlargs):{join(.):{lower:{tz}}}}
{=(ltz):{lower:{timezones}}}
{=(abbrdetection):{contains({uargs1}):{replace(~, ):{abbrvs}}}}
{=(tzdetection):{in(~{jlargs}):{ltz}}}
{=(osindex):{index({if({abbrdetection}==true):{uargs1}):{replace(~, ):{abbrvs}}|{if({tzdetection}==true):${jlargs}):{replace(~, ):{replace(~{jlargs}, ${jlargs} .):NULL {ltz}}}|false):true}}}}
{=(currentTime):{m:trunc({unix}+(3600*{offsets({osindex}):~}))}}
{=(opthelp):{any({largs1}==help|{largs1}==abbr|{largs1}==abbrev|{largs1}==timezones):true|false}}
{=(time):{replace(.,:):{ar.remains(1)}}}
{=(date):{replace(/,-):{if({ar.remains(2)}==tomorrow):{strf({m:trunc({currentTime}+86400)}):%Y-%m-%d}|{ar.remains(2)}}}}
{=(time_in_num):{replace(0,1):{replace(:,):{time}}}}
{=(timeornot):{if({time_in_num}=={m:trunc({time_in_num}/1)}):true|false}}
{=(date_in_num):{replace(/,):{replace(-,):{replace(0,1):{date}}}}}
{=(dateornot):{if({date_in_num}=={m:trunc({date_in_num}/1)}):true|false}}
{=(le_time):{index(ƃ&):{replace(ƃ, ):{join(ƃ):{replace(, ):{replace(:,):{time}}}}} ƃ&}}
{=(le_date):{index(ƃ&):{replace(ƃ, ):{join(ƃ):{replace(, ):{replace(-,):{date}}}}} ƃ&}}
{=(current_month):{strf({currentTime}):%m}}
{=(current_year):{strf({currentTime}):%Y}}
{=(time):{all({le_time}<3|{in(:):{time}}==false):{time}:00:00|{time}:00}}
{=(date):{if({dateornot}==false):{strf({currentTime}):%Y-%m-%d}|{all({le_date}<3|{in(-):{date}}==false):{current_year}-{current_month}-{date}|{if({le_date}<6):{current_year}-{date}|{date}}}}}
{=(setTime):{strf({date} {time}):%s}}
{=(timecheck):{if({currentTime}<{setTime}):true|false}}
{=(diff):{m:trunc({setTime}-{currentTime})}}
{=(runcmd):{all({opthelp}==false|{largs1}!=list|{osindex}!=-1|{timeornot}==true|{timecheck}==true):true|false}}
{=(al.msg):{ar.remains({if({dateornot}==false):2+|3+})}}
{=(optremove):{any({largs1}==remove|{largs1}==cancel):true|false}}
{if({opthelp}==true):**Alarm Tag** :
This tags uses `Reminders` command of Carl BOT to set alarms to a specific Date and time provided from user. Users also have to provide their timezones ids or name so as to set alarm as per their timezone time. The alarm trigger are approx. with error of +-1 minutes.
__**How to use it?**__
**Syntaz** : `{prefix}{tagname} <Your_Timezone> <Time_in_24_hours_clock> [Any_Future_Date]`
Formats :
Time : `HH:MM` format or only `HH`
Date : `yyyy-mm-dd` or `mm-dd` or `mm/dd` or `dd` or `tomorrow`
**Examples** :
1️⃣ `{prefix}{tagname} ist 23:59 2020-12-31 Goodbye 2020!!`
>> Last day of 2020.
2️⃣ `{prefix}{tagname} pst 20 08/15 Need to buy cake.`
>> August 15 of current year.
3️⃣ `{prefix}{tagname} IST 20 15 Need to go cinema with friends.`
>> Here 15th of the current month.
4️⃣ `{prefix}{tagname} pst 20 Need to buy cake.`
>> If no date is mentioned then it will takes todays date.
More options:
__To see all available Timezones use__ : `{prefix}{tagname} list`.
__To see all your Alarms__ : `{prefix}{tagname} mine`
__To remove/cancel your Alarms__ : `{prefix}{tagname} remove/cancel <ALARM_ID>`
See help of `rm` for more operation.
Tag by Tush with help from Raffael.|{if({optremove}==true):Done|{if({largs1}==mine):⏰|{if({largs1}==list):Available timezone abbreviations (<https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations>). Duplicates point to whichever a Google search decided was correct.
Use : `{prefix}{tagname} help` for help|{if({osindex}==-1):Your input did not match a timezone name or abbreviation. Use `{prefix}{tagname} help` for a help.|{if({timeornot}==false):Incorrect time provided, Use `{prefix}{tagname} help` for help.|{if({timecheck}==false):Incorrect time. The time provided should comes `after` provided timezone current time.
Timezone time : {strf({currentTime}):%A %B %d, %Y at %-I:%M %p}
Alarm Time : {strf({setTime}):%A %B %d, %Y at %-I:%M %p}|**⏰ Alarm Details**
```Trigger : {strf({setTime}):%A %B %d, %Y at %-I:%M %p}
Message : {al.msg}
Timezone : {upper:{replace(., ):{timezones({osindex}):~}}}
Current time : {strf({currentTime}):%H:%M}```}}}}}}}
{{if({runcmd}==true):c|=(comment):}:rm {diff}s {al.msg}}
{{if({largs1}==mine):c|=(comment):}:rm mine}
{{if({optremove}==true):c|=(comment):}:rm cancel {args(2)}}Raw JSON
{
"id": 2033025,
"created_at": "2024-06-11T19:11:27.000Z",
"tag_name": "al",
"nsfw": false,
"owner_id": "935523589640310854",
"uses": 0,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "1230152916548063232",
"sharer": "935523589640310854",
"content": "{=(comment):Put your Carl-bot prefix and Tag name below in the variable for a customized error message}\n{=(prefix):!}\n{=(tagname):al}\n\n{=(comment):<---------DO NOT TOUCH ANYTHING BELOW THIS POINT--------->}\n\n{=(comment):The list of timezones and houroffsets are paired by value index locations.}\n{=(abbrvs):null~ACDT~ACST~ACT~ACWST~ADT~AEDT~AEST~AFT~AKDT~AKST~ALMT~AMST~null~AMT~ANAT~AQTT~ART~null~AST~AWST~AZOST~AZOT~AZT~BDT~BIOT~BIT~BOT~BRST~BRT~null~null~BST~BTT~CAT~CCT~CDT~null~CEST~CET~CHADT~CHAST~CHOT~CHOST~CHST~CHUT~CIST~CIT~CKT~CLST~CLT~COST~COT~CST~null~null~CT~CVT~CWST~CXT~DAVT~DDUT~DFT~EASST~EAST~EAT~null~ECT~EDT~EEST~EET~EGST~EGT~EIT~EST~FET~FJT~FKST~FKT~FNT~GALT~GAMT~GET~GFT~GILT~GIT~GMT~null~GST~GYT~HDT~HAEC~HST~HKT~HMT~HOVT~ICT~IDLW~IDT~IOT~IRDT~IRKT~IRST~IST~null~null~JST~KALT~KGT~KOST~KRAT~KST~LHDT~LHST~LINT~MAGT~MART~MAWT~MDT~MET~MEST~MHT~MIST~MIT~MMT~MSK~null~MST~MUT~MVT~MYT~NCT~NDT~NFT~NOVT~NPT~NST~NT~NUT~NZDT~NZST~OMST~ORAT~PDT~PET~PETT~PGT~PHOT~PHT~PKT~PMDT~PMST~PONT~PST~null~PYST~PYT~RET~ROTT~SAKT~SAMT~SAST~SBT~SCT~SDT~SGT~SLST~SRET~SRT~SST~null~SYOT~TAHT~THA~TFT~TJT~TKT~TLT~TMT~TRT~TOT~TVT~ULAST~ULAT~UTC~UYST~UYT~UZT~VET~VLAT~VOLT~VOST~VUT~WAKT~WAST~WAT~WEST~WET~WIT~WGST~WGT~WST~YAKT~YEKT}\n\n{=(timezones):ACDT~ACST~ACT~ACWST~ADT~AEDT~AEST~AFT~AKDT~AKST~ALMT~AMST~null~AMT~ANAT~AQTT~ART~null~AST~AWST~AZOST~AZOT~AZT~BDT~BIOT~BIT~BOT~BRST~BRT~null~null~BST~BTT~CAT~CCT~CDT~null~CEST~CET~CHADT~CHAST~CHOT~CHOST~CHST~CHUT~CIST~CIT~CKT~CLST~CLT~COST~COT~CST~null~null~CT~CVT~CWST~CXT~DAVT~DDUT~DFT~EASST~EAST~EAT~null~ECT~EDT~EEST~EET~EGST~EGT~EIT~EST~FET~FJT~FKST~FKT~FNT~GALT~GAMT~GET~GFT~GILT~GIT~GMT~null~GST~GYT~HDT~HAEC~HST~HKT~HMT~HOVT~ICT~IDLW~IDT~IOT~IRDT~IRKT~IRST~IST~null~null~JST~KALT~KGT~KOST~KRAT~KST~LHDT~LHST~LINT~MAGT~MART~MAWT~MDT~MET~MEST~MHT~MIST~MIT~MMT~MSK~null~MST~MUT~MVT~MYT~NCT~NDT~NFT~NOVT~NPT~NST~NT~NUT~NZDT~NZST~OMST~ORAT~PDT~PET~PETT~PGT~PHOT~PHT~PKT~PMDT~PMST~PONT~PST~null~PYST~PYT~RET~ROTT~SAKT~SAMT~SAST~SBT~SCT~SDT~SGT~SLST~SRET~SRT~SST~null~SYOT~TAHT~THA~TFT~TJT~TKT~TLT~TMT~TRT~TOT~TVT~ULAST~ULAT~UTC~UYST~UYT~UZT~VET~VLAT~VOLT~VOST~VUT~WAKT~WAST~WAT~WEST~WET~WIT~WGST~WGT~WST~YAKT~YEKT}\n\n{=(offsets):10.5~9.5~-5~8.75~-3~11~10~4.5~-8~-9~6~-3~-4~4~12~5~-3~3~-4~8~0~-1~4~8~6~-12~-4~-2~-3~6~11~1~6~2~6.5~-5~-4~2~1~13.75~12.75~8~9~10~10~-8~8~-10~-3~-4~-4~-5~-6~8~-5~8~-1~8.75~7~7~10~1~-5~-6~3~-4~-5~-4~3~2~0~-1~9~-5~3~12~-3~-4~-2~-6~-9~4~-3~12~-9~0~-2~4~-4~-9~2~-10~8~5~7~7~-12~3~3~4.5~8~3.5~5.5~1~2~9~2~6~11~7~9~11~10.5~14~12~-9.5~5~-6~1~2~12~11~-9.5~6.5~3~8~-7~4~5~8~11~-2.5~11~7~5.75~-3.5~-3.5~-11~13~12~6~5~-7~-5~12~10~13~8~5~-2~-3~11~-8~8~-3~-4~4~-3~11~4~2~11~4~-10~8~5.5~11~-3~-11~8~3~-10~7~5~5~13~9~5~3~13~12~9~8~0~-2~-3~5~-4~10~4~6~11~12~2~1~1~0~7~-2~-3~8~9~5}\n\n\n{=(quote):{in(\"):{args(1)}}}\n{=(tz):{replace(ƃ, ):{join(ƃ):{if({quote}==true):{args(2):\"}|{args(1)}}}}}\n{=(ar.remains):{if({quote}==true):{replace(ƃ, ):{join(ƃ):{args(3):\"}}}|{args(2+)}}}\n\n\n{=(uargs1):{upper:{tz}}}\n{=(largs1):{lower:{tz}}}\n{=(jlargs):{join(.):{lower:{tz}}}}\n{=(ltz):{lower:{timezones}}}\n{=(abbrdetection):{contains({uargs1}):{replace(~, ):{abbrvs}}}}\n{=(tzdetection):{in(~{jlargs}):{ltz}}}\n\n{=(osindex):{index({if({abbrdetection}==true):{uargs1}):{replace(~, ):{abbrvs}}|{if({tzdetection}==true):${jlargs}):{replace(~, ):{replace(~{jlargs}, ${jlargs} .):NULL {ltz}}}|false):true}}}}\n\n{=(currentTime):{m:trunc({unix}+(3600*{offsets({osindex}):~}))}}\n\n{=(opthelp):{any({largs1}==help|{largs1}==abbr|{largs1}==abbrev|{largs1}==timezones):true|false}}\n\n{=(time):{replace(.,:):{ar.remains(1)}}}\n{=(date):{replace(/,-):{if({ar.remains(2)}==tomorrow):{strf({m:trunc({currentTime}+86400)}):%Y-%m-%d}|{ar.remains(2)}}}}\n\n{=(time_in_num):{replace(0,1):{replace(:,):{time}}}}\n{=(timeornot):{if({time_in_num}=={m:trunc({time_in_num}/1)}):true|false}}\n\n{=(date_in_num):{replace(/,):{replace(-,):{replace(0,1):{date}}}}}\n{=(dateornot):{if({date_in_num}=={m:trunc({date_in_num}/1)}):true|false}}\n\n\n{=(le_time):{index(ƃ&):{replace(ƃ, ):{join(ƃ):{replace(, ):{replace(:,):{time}}}}} ƃ&}}\n\n{=(le_date):{index(ƃ&):{replace(ƃ, ):{join(ƃ):{replace(, ):{replace(-,):{date}}}}} ƃ&}}\n\n{=(current_month):{strf({currentTime}):%m}}\n{=(current_year):{strf({currentTime}):%Y}}\n\n{=(time):{all({le_time}<3|{in(:):{time}}==false):{time}:00:00|{time}:00}}\n\n{=(date):{if({dateornot}==false):{strf({currentTime}):%Y-%m-%d}|{all({le_date}<3|{in(-):{date}}==false):{current_year}-{current_month}-{date}|{if({le_date}<6):{current_year}-{date}|{date}}}}}\n\n\n{=(setTime):{strf({date} {time}):%s}}\n\n{=(timecheck):{if({currentTime}<{setTime}):true|false}}\n\n{=(diff):{m:trunc({setTime}-{currentTime})}}\n\n{=(runcmd):{all({opthelp}==false|{largs1}!=list|{osindex}!=-1|{timeornot}==true|{timecheck}==true):true|false}}\n\n{=(al.msg):{ar.remains({if({dateornot}==false):2+|3+})}}\n\n{=(optremove):{any({largs1}==remove|{largs1}==cancel):true|false}}\n\n{if({opthelp}==true):**Alarm Tag** : \nThis tags uses `Reminders` command of Carl BOT to set alarms to a specific Date and time provided from user. Users also have to provide their timezones ids or name so as to set alarm as per their timezone time. The alarm trigger are approx. with error of +-1 minutes.\n__**How to use it?**__\n**Syntaz** : `{prefix}{tagname} <Your_Timezone> <Time_in_24_hours_clock> [Any_Future_Date]`\n\nFormats :\nTime : `HH:MM` format or only `HH`\nDate : `yyyy-mm-dd` or `mm-dd` or `mm/dd` or `dd` or `tomorrow`\n\n**Examples** : \n1️⃣ `{prefix}{tagname} ist 23:59 2020-12-31 Goodbye 2020!!`\n>> Last day of 2020.\n2️⃣ `{prefix}{tagname} pst 20 08/15 Need to buy cake.`\n>> August 15 of current year.\n3️⃣ `{prefix}{tagname} IST 20 15 Need to go cinema with friends.`\n>> Here 15th of the current month.\n4️⃣ `{prefix}{tagname} pst 20 Need to buy cake.`\n>> If no date is mentioned then it will takes todays date.\n\nMore options:\n__To see all available Timezones use__ : `{prefix}{tagname} list`.\n__To see all your Alarms__ : `{prefix}{tagname} mine`\n__To remove/cancel your Alarms__ : `{prefix}{tagname} remove/cancel <ALARM_ID>`\nSee help of `rm` for more operation.\n\nTag by Tush with help from Raffael.|{if({optremove}==true):Done|{if({largs1}==mine):⏰|{if({largs1}==list):Available timezone abbreviations (<https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations>). Duplicates point to whichever a Google search decided was correct.\nUse : `{prefix}{tagname} help` for help|{if({osindex}==-1):Your input did not match a timezone name or abbreviation. Use `{prefix}{tagname} help` for a help.|{if({timeornot}==false):Incorrect time provided, Use `{prefix}{tagname} help` for help.|{if({timecheck}==false):Incorrect time. The time provided should comes `after` provided timezone current time.\nTimezone time : {strf({currentTime}):%A %B %d, %Y at %-I:%M %p}\nAlarm Time : {strf({setTime}):%A %B %d, %Y at %-I:%M %p}|**⏰ Alarm Details**\n```Trigger : {strf({setTime}):%A %B %d, %Y at %-I:%M %p}\nMessage : {al.msg}\nTimezone : {upper:{replace(., ):{timezones({osindex}):~}}}\nCurrent time : {strf({currentTime}):%H:%M}```}}}}}}}\n\n{{if({runcmd}==true):c|=(comment):}:rm {diff}s {al.msg}}\n{{if({largs1}==mine):c|=(comment):}:rm mine}\n{{if({optremove}==true):c|=(comment):}:rm cancel {args(2)}}",
"embed": "{}",
"last_fetched": "2026-10-20T19:38:40.590Z"
}