noca

Privateunrated

Content

28 lines
{=(comment):Error, incorrect args.}
{=(msg):• Role a user into NoCashapp with `-noca add [user] [reason]`.
• Role a user OUT of NoCashapp with `-noca remove [user] [reason]`.}
{=():}{override}
{=(rolerequired):647964564813643812}
{require(You can’t run this loser):{rolerequired}}

{=(comment):noca is the role that will disallow members from accessing the cashapp channel.}
{=(rolegiven):787776498035327047}
{=(largs1):{lower:{1}}}
{=(lngth):{index($%&):{args} end}}

{=(comment):this displays the msg if neither add nor remove are the first arg}
{{if({contains({largs1}):add remove}==false):blacklist({msg}):{channel(id)}}}

{=(comment):must include user to apply role to.}
{{if({lngth}<2):blacklist({msg}):{channel(id)}}}

{=(comment):conditional blacklist blocks were used with the current channel id for both of those checks, as it will prevent the commands from being run, while break blocks will not}

{=(comment):option will either be blank, add, or remove. the setnote command will note the reason why the role was added.}
{=(option):{if({contains({largs1}):add remove}==true):{largs1}}}
{=(add):c:setnote {args(2)}/c:role add {2} {rolegiven}}
{=(remove):c:setnote {args(2)}/c:role remove {2} {rolegiven}}

{=(comment):this is what runs both commands}
{{{option}(1):/}}
{{{option}(2):/}}
Raw JSON
{
  "id": 482113,
  "created_at": "2020-12-13T20:25:12.000Z",
  "tag_name": "noca",
  "nsfw": false,
  "owner_id": "610684056904007713",
  "uses": 5,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "634762015524782112",
  "sharer": "610684056904007713",
  "content": "{=(comment):Error, incorrect args.}\n{=(msg):• Role a user into NoCashapp with `-noca add [user] [reason]`.\n• Role a user OUT of NoCashapp with `-noca remove [user] [reason]`.}\n{=():}{override}\n{=(rolerequired):647964564813643812}\n{require(You can’t run this loser):{rolerequired}}\n\n{=(comment):noca is the role that will disallow members from accessing the cashapp channel.}\n{=(rolegiven):787776498035327047}\n{=(largs1):{lower:{1}}}\n{=(lngth):{index($%&):{args} end}}\n\n{=(comment):this displays the msg if neither add nor remove are the first arg}\n{{if({contains({largs1}):add remove}==false):blacklist({msg}):{channel(id)}}}\n\n{=(comment):must include user to apply role to.}\n{{if({lngth}<2):blacklist({msg}):{channel(id)}}}\n\n{=(comment):conditional blacklist blocks were used with the current channel id for both of those checks, as it will prevent the commands from being run, while break blocks will not}\n\n{=(comment):option will either be blank, add, or remove. the setnote command will note the reason why the role was added.}\n{=(option):{if({contains({largs1}):add remove}==true):{largs1}}}\n{=(add):c:setnote {args(2)}/c:role add {2} {rolegiven}}\n{=(remove):c:setnote {args(2)}/c:role remove {2} {rolegiven}}\n\n{=(comment):this is what runs both commands}\n{{{option}(1):/}}\n{{{option}(2):/}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T23:29:46.588Z"
}