mafia

Privateunrated

Content

28 lines
{delete}{override}{=():}

{=(prefix):-}
{=(tagname):mafia}
{=(separator):/}
{=(requiredargs):2}

{=(arglen):{index($&@):{args} $&@}}
{=(newarglen):{index($&@):{replace({separator},. .):{args}} $&@}}
{=(sepcount):{m:trunc({newarglen}-{arglen})}}

{=(title):MAFIA EVENT}

{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}

{=(msg0):<a:arrow:789101247499599872> **Sponsor:** {if({user(mention):{separator}}==):Donor not provided|{args(1):{separator}}}
<a:arrow:789101247499599872> **Prize:** {if({args(2):{separator}}==):No Prize|{args(2):{separator}}}
<a:arrow:789101247499599872> **Note:** {if({args(3):{separator}}==):N/A|{args(3):{separator}}}}

{=(msg1):You did not provide enough information. 

Your input should include 2 `{separator}`. To keep a section blank just dont put in any text in that section. 

Sections: `Donor{separator}Prize{separator}Message`
Usage Example: `{prefix}{tagname} @PolarPhoenix{separator}100k{separator}Dead n alive`}

{{if({num}==0):redirect:789068018411241502}}
{c:{if({num}==0):feed announce mafia **Mafia Time!**|echo}}

Embed

1 line
{"url": "https://top.gg/servers/772868441920110662/vote", "color": 1102826, "title": "{if({num}==0):{title}}", "footer": {"text": "Have fun!", "icon_url": "{server(avatar)}"}, "thumbnail": {"url": "https://cdn.discordapp.com/emojis/810913762039169114.png?v=1"}, "description": "{msg{num}}"}
Raw JSON
{
  "id": 488886,
  "created_at": "2020-12-17T16:09:45.000Z",
  "tag_name": "mafia",
  "nsfw": false,
  "owner_id": "691198774587949067",
  "uses": 317,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "772868441920110662",
  "sharer": "691198774587949067",
  "content": "{delete}{override}{=():}\n\n{=(prefix):-}\n{=(tagname):mafia}\n{=(separator):/}\n{=(requiredargs):2}\n\n{=(arglen):{index($&@):{args} $&@}}\n{=(newarglen):{index($&@):{replace({separator},. .):{args}} $&@}}\n{=(sepcount):{m:trunc({newarglen}-{arglen})}}\n\n{=(title):MAFIA EVENT}\n\n{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}\n\n{=(msg0):<a:arrow:789101247499599872> **Sponsor:** {if({user(mention):{separator}}==):Donor not provided|{args(1):{separator}}}\n<a:arrow:789101247499599872> **Prize:** {if({args(2):{separator}}==):No Prize|{args(2):{separator}}}\n<a:arrow:789101247499599872> **Note:** {if({args(3):{separator}}==):N/A|{args(3):{separator}}}}\n\n{=(msg1):You did not provide enough information. \n\nYour input should include 2 `{separator}`. To keep a section blank just dont put in any text in that section. \n\nSections: `Donor{separator}Prize{separator}Message`\nUsage Example: `{prefix}{tagname} @PolarPhoenix{separator}100k{separator}Dead n alive`}\n\n{{if({num}==0):redirect:789068018411241502}}\n{c:{if({num}==0):feed announce mafia **Mafia Time!**|echo}}",
  "embed": "{\"url\": \"https://top.gg/servers/772868441920110662/vote\", \"color\": 1102826, \"title\": \"{if({num}==0):{title}}\", \"footer\": {\"text\": \"Have fun!\", \"icon_url\": \"{server(avatar)}\"}, \"thumbnail\": {\"url\": \"https://cdn.discordapp.com/emojis/810913762039169114.png?v=1\"}, \"description\": \"{msg{num}}\"}",
  "last_fetched": "2026-10-20T23:31:50.457Z"
}