mote

Privateunrated

Content

13 lines
{=(reason):{if({args(3+)}==):no reason given|{args(3+)}}}
{=(ss):{math:round({replace(s, ):{replace(m, *60):{replace(h, *3600):{replace(d, *86400):{replace(w, *604800):{replace(M, *2592000):{replace(y, *31622400):{args(2)}}}}}}}})}}
{=(timedelta):{td({math:round({unix}-{ss})}):{strf:%Y-%m-%d %H:%M:%S}}}
{=(msg1):`-mute <member> [duration]
      ^^^^^^^^
member is a required argument that is missing.`}
{=(msg2):**{user(proper)}** muted **{target(proper)}** indefinitely. Reason: {reason}}
{=(msg3):**{user(proper)}** muted **{target(proper)}** for {timedelta}. Reason: {reason}}
{=(msg4):You're not high enough in the role hierarchy to do that.}
{=(msg5):Can't mute yourself.}
{=(dd):{ord:{ss}}}
{=(display):{if({args(1)}==):msg1|{if({target(id)}=={user(id)}):msg5|{if({target(position)}>={user(position)}):msg4|{or({dd}==<ord error>|{ss}>={unix}):msg2|msg3}}}}}
{{display}}
Raw JSON
{
  "id": 380117,
  "created_at": "2020-10-18T11:35:06.000Z",
  "tag_name": "mote",
  "nsfw": false,
  "owner_id": "676103178323886085",
  "uses": 16,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "740192346024443964",
  "sharer": "676103178323886085",
  "content": "{=(reason):{if({args(3+)}==):no reason given|{args(3+)}}}\n{=(ss):{math:round({replace(s, ):{replace(m, *60):{replace(h, *3600):{replace(d, *86400):{replace(w, *604800):{replace(M, *2592000):{replace(y, *31622400):{args(2)}}}}}}}})}}\n{=(timedelta):{td({math:round({unix}-{ss})}):{strf:%Y-%m-%d %H:%M:%S}}}\n{=(msg1):`-mute <member> [duration]\n      ^^^^^^^^\nmember is a required argument that is missing.`}\n{=(msg2):**{user(proper)}** muted **{target(proper)}** indefinitely. Reason: {reason}}\n{=(msg3):**{user(proper)}** muted **{target(proper)}** for {timedelta}. Reason: {reason}}\n{=(msg4):You're not high enough in the role hierarchy to do that.}\n{=(msg5):Can't mute yourself.}\n{=(dd):{ord:{ss}}}\n{=(display):{if({args(1)}==):msg1|{if({target(id)}=={user(id)}):msg5|{if({target(position)}>={user(position)}):msg4|{or({dd}==<ord error>|{ss}>={unix}):msg2|msg3}}}}}\n{{display}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T22:48:37.253Z"
}