mm

Sharedunrated

Content

18 lines
{=(COMMENT):PLEASE, remember to create a feed called mm and select the mentioned role as your middleman role, or else it wont work.}
{=():}
{c: feed announce mm New middleman request!}
{=(hasSlash):{in(/):{args}}}
{=(IsPing):{if({user(mention)}=={target(mention)}):false|true}}
{=(AllCheck):{any({hasSlash}==false|{IsPing}==false):false|true}}
{=(ErrorMSG):You're not running this properly, use the format:
`!mm <trader>/<your offer>/<their offer>`
Remember to separate them with a `/`}
{=(jargs):{join(~):{args}}}
{=(jargs):{replace(/,~):{args}}}
{=(arg1):{list(0):{jargs}}}
{=(arg2):{list(1):{jargs}}}
{=(arg3):{list(2):{jargs}}}
{{if({AllCheck}==false):blacklist({ErrorMSG}):{server(id)}}}
{=(CheckArg):{if(!={arg3}):true|false}}
{{if({CheckArg}==false):blacklist({ErrorMSG}):{server(id)}}}
{override}

Embed

1 line
{"color": 16769536, "title": "Someone is requesting a middleman!", "footer": {"text": "Brought to you by Valkyrie#9062 πŸ˜„"}, "description": "Request sent from: {user(mention)}\nTrader: {target(mention)}\n{user(mention)}'s offer: {args(2):/}\n{target(mention)}'s offer: {args(3):/}"}
Raw JSON
{
  "id": 803798,
  "created_at": "2021-05-05T12:23:53.000Z",
  "tag_name": "mm",
  "nsfw": false,
  "owner_id": "635829704183644170",
  "uses": 62,
  "description": null,
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "817944549069684796",
  "sharer": "635829704183644170",
  "content": "{=(COMMENT):PLEASE, remember to create a feed called mm and select the mentioned role as your middleman role, or else it wont work.}\n{=():}\n{c: feed announce mm New middleman request!}\n{=(hasSlash):{in(/):{args}}}\n{=(IsPing):{if({user(mention)}=={target(mention)}):false|true}}\n{=(AllCheck):{any({hasSlash}==false|{IsPing}==false):false|true}}\n{=(ErrorMSG):You're not running this properly, use the format:\n`!mm <trader>/<your offer>/<their offer>`\nRemember to separate them with a `/`}\n{=(jargs):{join(~):{args}}}\n{=(jargs):{replace(/,~):{args}}}\n{=(arg1):{list(0):{jargs}}}\n{=(arg2):{list(1):{jargs}}}\n{=(arg3):{list(2):{jargs}}}\n{{if({AllCheck}==false):blacklist({ErrorMSG}):{server(id)}}}\n{=(CheckArg):{if(!={arg3}):true|false}}\n{{if({CheckArg}==false):blacklist({ErrorMSG}):{server(id)}}}\n{override}",
  "embed": "{\"color\": 16769536, \"title\": \"Someone is requesting a middleman!\", \"footer\": {\"text\": \"Brought to you by Valkyrie#9062 πŸ˜„\"}, \"description\": \"Request sent from: {user(mention)}\\nTrader: {target(mention)}\\n{user(mention)}'s offer: {args(2):/}\\n{target(mention)}'s offer: {args(3):/}\"}",
  "last_fetched": "2026-10-20T16:20:37.629Z"
}