task1
Privateunrated
Content
47 lines{=(comment):The following are required to be edited for the tag to function.}
{=(comment):Whitelisted roles and channel IDs. Leave blank for none, seperate with a comma (id1,id2)}
{=(wl.ids):929923242326626388}
{=(comment):Task uploading channel. Cannot be multiple, or empty.}
{=(redir.chan):939426808644919297}
{=():}
{=(comment):TagScript section. Editable if you have basic knowledge of TS.}
{=(l.args):{lower:{args}}}
{=(tf.check):{in(p:):{l.args(1)}}{in(t:):{l.args(2)}} {in(m:):{l.args(1)}}{in(s:):{l.args(2)}}}
{=(type.check):{and({tf.check(1)}==truetrue|{in({m:sgn({replace(p:,):{l.args(1)}})}):-1 0 1}==false):syntax.error|{and({tf.check(2)}==truetrue|{in({m:sgn({replace(m:,):{l.args(1)}})}):-1 0 1}==false):syntax.error|{and({tf.check(2)}==truetrue|{contains({replace(s:,):{l.args(2)}}):cncl cancelled tk taken com completed}==false):syntax.error|{if({tf.check(1)}==truetrue):new.task|{if({tf.check(2)}==truetrue):edit.task|syntax.error}}}}}}
{=(et.msgid):{replace(m:,):{l.args(1)}}}
{=(et.status):{replace(s:,):{l.args(2)}}}
{=(c.edit.task):c:editembed {et.msgid} |{or({et.status}==cncl|{et.status}==cancelled):**Status:** Cancelled|{or({et.status}==tk|{et.status}==taken):**Status:** Taken|{or({et.status}==com|{et.status}==completed):**Status:** Completed}}}}
{=(nt.priority):{replace(p:,):{l.args(1)}}}
{=(nt.priority):{if({nt.priority}==1):Low|{if({nt.priority}==2):Medium|{if({nt.priority}==3):High|Unknown}}}}
{=(nt.json):{
"fields":[
{
"name":"Task #{uses} from {user(proper)}",
"value":"**Priority:** {nt.priority}\n<t:{unix}:R>\n\n{replace(t:,):{args(2+)}}\n\n",
"inline":false
}
],
"footer":{
"text":"Made with love by Archi#4955."
},
"color":2105893,
"type":"rich",
"description":"**Status:** Pending"
}}
{=(c.new.task):c:cembed {redir.chan} {nt.json}}
{=(res.edit.task):<:GreenTick:699124840879226922> Successfully edited {et.msgid} with status: {et.status}}
{=(res.syntax.error):<:RedTick:699124870352732251> Syntax error.
`[p]task p:1-3 t:task`
`[p]task m:msgID s:status (tk, taken, cncl, cancelled, com, completed)`
``
}
{=(res.new.task):<:GreenTick:699124840879226922> Successfully posted task: {replace(t:,):{args(2+)}}}
{{if({type.check}!=syntax.error):{c.{type.check}}}}Embed
1 line{"color": 5198940, "footer": {"text": "Made with love by Archi#4955."}, "description": "{res.{type.check}}"}Raw JSON
{
"id": 1283307,
"created_at": "2022-04-26T10:38:11.290Z",
"tag_name": "task1",
"nsfw": false,
"owner_id": "741664178422677505",
"uses": 11,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "929923242326626385",
"sharer": "741664178422677505",
"content": "{=(comment):The following are required to be edited for the tag to function.}\n\n{=(comment):Whitelisted roles and channel IDs. Leave blank for none, seperate with a comma (id1,id2)}\n{=(wl.ids):929923242326626388}\n\n{=(comment):Task uploading channel. Cannot be multiple, or empty.}\n{=(redir.chan):939426808644919297}\n\n{=():}\n\n{=(comment):TagScript section. Editable if you have basic knowledge of TS.}\n{=(l.args):{lower:{args}}}\n{=(tf.check):{in(p:):{l.args(1)}}{in(t:):{l.args(2)}} {in(m:):{l.args(1)}}{in(s:):{l.args(2)}}}\n{=(type.check):{and({tf.check(1)}==truetrue|{in({m:sgn({replace(p:,):{l.args(1)}})}):-1 0 1}==false):syntax.error|{and({tf.check(2)}==truetrue|{in({m:sgn({replace(m:,):{l.args(1)}})}):-1 0 1}==false):syntax.error|{and({tf.check(2)}==truetrue|{contains({replace(s:,):{l.args(2)}}):cncl cancelled tk taken com completed}==false):syntax.error|{if({tf.check(1)}==truetrue):new.task|{if({tf.check(2)}==truetrue):edit.task|syntax.error}}}}}}\n\n{=(et.msgid):{replace(m:,):{l.args(1)}}}\n{=(et.status):{replace(s:,):{l.args(2)}}}\n{=(c.edit.task):c:editembed {et.msgid} |{or({et.status}==cncl|{et.status}==cancelled):**Status:** Cancelled|{or({et.status}==tk|{et.status}==taken):**Status:** Taken|{or({et.status}==com|{et.status}==completed):**Status:** Completed}}}}\n\n{=(nt.priority):{replace(p:,):{l.args(1)}}}\n{=(nt.priority):{if({nt.priority}==1):Low|{if({nt.priority}==2):Medium|{if({nt.priority}==3):High|Unknown}}}}\n{=(nt.json):{\n \"fields\":[\n {\n \"name\":\"Task #{uses} from {user(proper)}\",\n \"value\":\"**Priority:** {nt.priority}\\n<t:{unix}:R>\\n\\n{replace(t:,):{args(2+)}}\\n\\n\",\n \"inline\":false\n }\n ],\n \"footer\":{\n \"text\":\"Made with love by Archi#4955.\"\n },\n \"color\":2105893,\n \"type\":\"rich\",\n \"description\":\"**Status:** Pending\"\n}}\n{=(c.new.task):c:cembed {redir.chan} {nt.json}}\n\n{=(res.edit.task):<:GreenTick:699124840879226922> Successfully edited {et.msgid} with status: {et.status}}\n{=(res.syntax.error):<:RedTick:699124870352732251> Syntax error.\n`[p]task p:1-3 t:task`\n`[p]task m:msgID s:status (tk, taken, cncl, cancelled, com, completed)`\n``\n}\n{=(res.new.task):<:GreenTick:699124840879226922> Successfully posted task: {replace(t:,):{args(2+)}}}\n\n{{if({type.check}!=syntax.error):{c.{type.check}}}}",
"embed": "{\"color\": 5198940, \"footer\": {\"text\": \"Made with love by Archi#4955.\"}, \"description\": \"{res.{type.check}}\"}",
"last_fetched": "2026-10-20T18:28:46.036Z"
}