SHARE
TWEET

DBM Game Dev Group- Deny/Grant Send Invites permission

illumiNaughtyNYC Apr 24th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "name": "noinvite",
  3.   "permissions": "NONE",
  4.   "restriction": "1",
  5.   "_id": "BFbhC",
  6.   "actions": [
  7.     {
  8.       "info": "0",
  9.       "infoIndex": "1",
  10.       "storage": "1",
  11.       "varName": "everyoneRolePerm",
  12.       "name": "Store Command Params"
  13.     },
  14.     {
  15.       "info": "1",
  16.       "find": "@everyone",
  17.       "storage": "1",
  18.       "varName": "everyoneRole",
  19.       "name": "Find Role"
  20.     },
  21.     {
  22.       "storage": "1",
  23.       "varName": "everyoneRolePerm",
  24.       "comparison": "1",
  25.       "value": "\"denied\"",
  26.       "iftrue": "0",
  27.       "iftrueVal": "",
  28.       "iffalse": "2",
  29.       "iffalseVal": "7",
  30.       "name": "Check Variable"
  31.     },
  32.     {
  33.       "role": "3",
  34.       "varName": "everyoneRole",
  35.       "permission": "9",
  36.       "state": "1",
  37.       "reason": "Aske a $server admin for  send invite permission.",
  38.       "name": "Set Role Permissions"
  39.     },
  40.     {
  41.       "channel": "0",
  42.       "varName": "",
  43.       "message": "The following role: ${tempVars(\"everyoneRole\")}: has been denied **Send Invite* Permissions.\n\nSend Invites : Denied!",
  44.       "storage": "0",
  45.       "varName2": "",
  46.       "name": "Send Message"
  47.     },
  48.     {
  49.       "name": "End Action Sequence"
  50.     },
  51.     {
  52.       "storage": "1",
  53.       "varName": "everyoneRolePerm",
  54.       "comparison": "1",
  55.       "value": "\"granted\"",
  56.       "iftrue": "0",
  57.       "iftrueVal": "",
  58.       "iffalse": "2",
  59.       "iffalseVal": "11",
  60.       "name": "Check Variable"
  61.     },
  62.     {
  63.       "role": "3",
  64.       "varName": "everyoneRole",
  65.       "permission": "9",
  66.       "state": "0",
  67.       "reason": "",
  68.       "name": "Set Role Permissions"
  69.     },
  70.     {
  71.       "channel": "0",
  72.       "varName": "",
  73.       "message": "The following role: ${tempVars(\"everyoneRole\")}: has been Granted **Send Invite* Permissions.\n\nSend Invites : Granted!",
  74.       "storage": "0",
  75.       "varName2": "",
  76.       "name": "Send Message"
  77.     },
  78.     {
  79.       "name": "End Action Sequence"
  80.     },
  81.     {
  82.       "channel": "0",
  83.       "varName": "",
  84.       "message": "usage :\n ` !noinvite denied ` : denies send invite permission to @everyone role.\n ` !noinvite granted` : grants send invite permission to @everyone role.",
  85.       "storage": "0",
  86.       "varName2": "",
  87.       "name": "Send Message"
  88.     }
  89.   ]
  90. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top