giveroles
Privateunrated
Content
62 lines{override}
{silence}
{=(comment):List all of your modroles below separated by a single space. Only spaces no commas or anything}
{=(modroles):716996456526905405 787643199757090846 708628144722280539 779378984839544865 801924949844951071}
{require:{join(,):{modroles}}}
{=(comment):Configure the things below for all the jsons to be accurate}
{=(prefix):.}
{=(commandName):giveroles}
{=(reactSuccess):✅}
{=(reactNeutral):📝}
{=(reactError):❎}
{=(comment):Time Variables}
{=(offset):+1}
{=(hins):3600}
{=(datern):{strf({m:trunc({unix}+({hins}*{offset}))}):%d/%m/%y}}
{=(timern):{strf({m:trunc({unix}+({hins}*{offset}))}):%X}}
{=(a2):{lower:{join():{args(2+)}}}}
{=({a2}):-}
{=(comment):Add roles below for what you want to be available to add by commmand}
{=(50mil):+767320380741910548 +753298603858067556 +708627236697145365}
{=(100mil):+767320516364075028 {50mil}}
{=(250mil):+801924411010842676 {100mil}}
{=(500mil):+811315916561842177 {250mil}}
{=(1bil):+811315923424247838 {500mil} +744928133907742830}
{=(2.5bil):+817361456906371083 {1bil}}
{=(comment):These are the JSON variables for the embeds}
{=(s.icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}
{=(assignableRoles): 767320380741910548 767320516364075028 801924411010842676 811315916561842177 811315923424247838 817361456906371083}
{=(blankerrorjson):{"title":"Custom Command Error","description":"You forgot to include a **User** and a **Role Name**. Please include those in the following format:\n\n`{prefix}{commandName} <User> <Role Name>`","author":{"name":"Dank Daily","icon_url":"{s.icon}"},"color":16738657}}
{=(errorjson):{"title":"Custom Command Error","description":"You forgot to include a **Role Name**. Please include those in the following format:\n\n`{prefix}{commandName} <User> <Role Name>`","author":{"name":"Dank Daily","icon_url":"{s.icon}"},"color":16738657}}
{=(invalidjson):{"title":"Custom Command Error","description":"You didn’t include a valid **Role Name**. Please include that in the following format:\n\n`{prefix}{commandName} <User> <Role Name>`","author":{"name":"Dank Daily","icon_url":"{s.icon}"},"color":16738657}}
{=(successjson):{"title":"Roles Added Log","description":"**Command**: `{prefix}{commandName}`\n**Target:** {target(proper)}, {target(mention)}\n**Roles Added:** {join(>, ):{replace(+, <@&):{{a2}}}}>\n**Responsible Moderator:** {user(proper)} ({user(id)})\n**Channel:** <#{channel(id)}> [Jump!](https://discordapp.com/channels/{server(id)}/{channel(id)})\n**Date:** {datern} \n**Time:** {timern}","thumbnail":{"url":"{target(avatar)}"},"author":{"name":"{server}","icon_url":"{s.icon}"},"color":9498256}}
{=(helpjson):{"title":"Custom Command Info","description":"Subcommand: `{prefix}{commandName} help`\n**Syntax:** `{prefix}{commandName} <user> <role>`\n**Uses:** {uses}\n","color":16775799}}
{=(configjson):{"title":"Custom Command Info","description":"Subcommand: `{prefix}{commandName} config`\nThese are your current settings:\n**Prefix:** {prefix}\n**Tagname:** {commandName}\n**Roles with access:** <@&{join(>, <@&):{modroles}}>\n**Assignable roles:** <@&{join(>, <@&):{assignableRoles}}>","color":16775799}}
{=(comment):DO NOT change anything below.}
{=():}
{=(jArgs):{join(~):{args}}}
{=(roleError):{if({a2}==-):true|false}}
{=(rArgs1):{replace(<@,):{replace(!,):{replace(>,):{args(1)}}}}}
{=(checkUser):{and({index($&%):{replace(, ):{rArgs1}} $&%}==18|{in({m:sgn({rArgs1})}):-1}==true):true|false}}
{=(output):{if(=={args}):blankerrorjson|{if({args(1)}==help):helpjson|{if({args(1)}==config):configjson|{and(!={args}|{list(1):{jArgs}}==):errorjson|{and({roleError}==true|!={list(1):{jArgs}}):invalidjson|{if({checkUser}==false):invalidjson|{and({roleError}==false|{checkUser}==true):successjson}}}}}}}}
{{if({output}==successjson):c:role custom {rArgs1} {{a2}}}}
{c:cembed {channel(id)} {{output}}}
{=(emojiOut):{any({args(1)}==config|{args(1)}==help):{reactNeutral}|{if({output}==successjson):{reactSuccess} |{reactError}}}}
{reactu:{emojiOut}}Raw JSON
{
"id": 926479,
"created_at": "2021-07-03T03:16:11.000Z",
"tag_name": "giveroles",
"nsfw": false,
"owner_id": "675746900263043080",
"uses": 0,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "792164945890115594",
"sharer": "675746900263043080",
"content": "{override}\n{silence}\n{=(comment):List all of your modroles below separated by a single space. Only spaces no commas or anything}\n{=(modroles):716996456526905405 787643199757090846 708628144722280539 779378984839544865 801924949844951071}\n\n{require:{join(,):{modroles}}}\n\n{=(comment):Configure the things below for all the jsons to be accurate}\n{=(prefix):.}\n{=(commandName):giveroles}\n{=(reactSuccess):✅}\n{=(reactNeutral):📝}\n{=(reactError):❎}\n\n{=(comment):Time Variables}\n{=(offset):+1}\n{=(hins):3600}\n{=(datern):{strf({m:trunc({unix}+({hins}*{offset}))}):%d/%m/%y}}\n{=(timern):{strf({m:trunc({unix}+({hins}*{offset}))}):%X}}\n\n{=(a2):{lower:{join():{args(2+)}}}}\n{=({a2}):-}\n\n{=(comment):Add roles below for what you want to be available to add by commmand}\n{=(50mil):+767320380741910548 +753298603858067556 +708627236697145365}\n{=(100mil):+767320516364075028 {50mil}}\n{=(250mil):+801924411010842676 {100mil}}\n{=(500mil):+811315916561842177 {250mil}}\n{=(1bil):+811315923424247838 {500mil} +744928133907742830}\n{=(2.5bil):+817361456906371083 {1bil}}\n\n{=(comment):These are the JSON variables for the embeds}\n\n{=(s.icon):{if({in(a_):{server(icon)}}==true):{replace(png,gif):{server(icon)}}|{server(icon)}}}\n\n{=(assignableRoles): 767320380741910548 767320516364075028 801924411010842676 811315916561842177 811315923424247838 817361456906371083}\n\n{=(blankerrorjson):{\"title\":\"Custom Command Error\",\"description\":\"You forgot to include a **User** and a **Role Name**. Please include those in the following format:\\n\\n`{prefix}{commandName} <User> <Role Name>`\",\"author\":{\"name\":\"Dank Daily\",\"icon_url\":\"{s.icon}\"},\"color\":16738657}}\n\n{=(errorjson):{\"title\":\"Custom Command Error\",\"description\":\"You forgot to include a **Role Name**. Please include those in the following format:\\n\\n`{prefix}{commandName} <User> <Role Name>`\",\"author\":{\"name\":\"Dank Daily\",\"icon_url\":\"{s.icon}\"},\"color\":16738657}}\n\n{=(invalidjson):{\"title\":\"Custom Command Error\",\"description\":\"You didn’t include a valid **Role Name**. Please include that in the following format:\\n\\n`{prefix}{commandName} <User> <Role Name>`\",\"author\":{\"name\":\"Dank Daily\",\"icon_url\":\"{s.icon}\"},\"color\":16738657}}\n\n{=(successjson):{\"title\":\"Roles Added Log\",\"description\":\"**Command**: `{prefix}{commandName}`\\n**Target:** {target(proper)}, {target(mention)}\\n**Roles Added:** {join(>, ):{replace(+, <@&):{{a2}}}}>\\n**Responsible Moderator:** {user(proper)} ({user(id)})\\n**Channel:** <#{channel(id)}> [Jump!](https://discordapp.com/channels/{server(id)}/{channel(id)})\\n**Date:** {datern} \\n**Time:** {timern}\",\"thumbnail\":{\"url\":\"{target(avatar)}\"},\"author\":{\"name\":\"{server}\",\"icon_url\":\"{s.icon}\"},\"color\":9498256}}\n\n{=(helpjson):{\"title\":\"Custom Command Info\",\"description\":\"Subcommand: `{prefix}{commandName} help`\\n**Syntax:** `{prefix}{commandName} <user> <role>`\\n**Uses:** {uses}\\n\",\"color\":16775799}}\n\n{=(configjson):{\"title\":\"Custom Command Info\",\"description\":\"Subcommand: `{prefix}{commandName} config`\\nThese are your current settings:\\n**Prefix:** {prefix}\\n**Tagname:** {commandName}\\n**Roles with access:** <@&{join(>, <@&):{modroles}}>\\n**Assignable roles:** <@&{join(>, <@&):{assignableRoles}}>\",\"color\":16775799}}\n\n{=(comment):DO NOT change anything below.}\n{=():}\n{=(jArgs):{join(~):{args}}}\n{=(roleError):{if({a2}==-):true|false}}\n{=(rArgs1):{replace(<@,):{replace(!,):{replace(>,):{args(1)}}}}}\n{=(checkUser):{and({index($&%):{replace(, ):{rArgs1}} $&%}==18|{in({m:sgn({rArgs1})}):-1}==true):true|false}}\n\n{=(output):{if(=={args}):blankerrorjson|{if({args(1)}==help):helpjson|{if({args(1)}==config):configjson|{and(!={args}|{list(1):{jArgs}}==):errorjson|{and({roleError}==true|!={list(1):{jArgs}}):invalidjson|{if({checkUser}==false):invalidjson|{and({roleError}==false|{checkUser}==true):successjson}}}}}}}}\n{{if({output}==successjson):c:role custom {rArgs1} {{a2}}}}\n{c:cembed {channel(id)} {{output}}}\n\n{=(emojiOut):{any({args(1)}==config|{args(1)}==help):{reactNeutral}|{if({output}==successjson):{reactSuccess} |{reactError}}}}\n{reactu:{emojiOut}}",
"embed": "{}",
"last_fetched": "2026-10-20T16:59:26.847Z"
}