SHARE
TWEET

Join Command

a guest Jul 19th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "name": "Join",
  3.   "permissions": "NONE",
  4.   "restriction": "1",
  5.   "_id": "SZNFh",
  6.   "actions": [
  7.     {
  8.       "comment": "Check If Moderation Role Exisits",
  9.       "color": "#80ff80",
  10.       "name": "Comment"
  11.     },
  12.     {
  13.       "info": "1",
  14.       "find": "Moderation Team",
  15.       "storage": "1",
  16.       "varName": "mod_role",
  17.       "name": "Find Role"
  18.     },
  19.     {
  20.       "storage": "1",
  21.       "varName": "mod_role",
  22.       "comparison": "0",
  23.       "value": "",
  24.       "iftrue": "3",
  25.       "iftrueVal": "4",
  26.       "iffalse": "0",
  27.       "iffalseVal": "",
  28.       "name": "Check Variable"
  29.     },
  30.     {
  31.       "title": "Whoops!",
  32.       "author": "${member.displayName}",
  33.       "color": "#f44242",
  34.       "timestamp": "true",
  35.       "url": "",
  36.       "authorIcon": "${member.user.displayAvatarURL}",
  37.       "imageUrl": "",
  38.       "thumbUrl": "",
  39.       "storage": "1",
  40.       "varName": "embed_role_check",
  41.       "name": "Create Embed Message"
  42.     },
  43.     {
  44.       "storage": "1",
  45.       "varName": "embed_role_check",
  46.       "message": "An error encountered while using this commands. No role found named `Moderation Team`, please create a role named `Moderation Team`.",
  47.       "name": "Set Embed Description"
  48.     },
  49.     {
  50.       "storage": "1",
  51.       "varName": "embed_role_check",
  52.       "channel": "0",
  53.       "varName2": "",
  54.       "name": "Send Embed Message"
  55.     },
  56.     {
  57.       "name": "End Action Sequence"
  58.     },
  59.     {
  60.       "comment": "Check's Author's Role",
  61.       "color": "#80ff80",
  62.       "name": "Comment"
  63.     },
  64.     {
  65.       "member": "1",
  66.       "varName": "",
  67.       "role": "3",
  68.       "varName2": "mod_role",
  69.       "iftrue": "3",
  70.       "iftrueVal": "4",
  71.       "iffalse": "0",
  72.       "iffalseVal": "",
  73.       "name": "Check If Member has Role"
  74.     },
  75.     {
  76.       "title": "Whoops!",
  77.       "author": "${member.displayName}",
  78.       "color": "#f44242",
  79.       "timestamp": "true",
  80.       "url": "",
  81.       "authorIcon": "${member.user.displayAvatarURL}",
  82.       "imageUrl": "",
  83.       "thumbUrl": "",
  84.       "storage": "1",
  85.       "varName": "embed_declined",
  86.       "name": "Create Embed Message"
  87.     },
  88.     {
  89.       "storage": "1",
  90.       "varName": "embed_declined",
  91.       "message": "An error encountered while using this commands. You require the `Moderation Team` role.",
  92.       "name": "Set Embed Description"
  93.     },
  94.     {
  95.       "storage": "1",
  96.       "varName": "embed_declined",
  97.       "channel": "0",
  98.       "varName2": "",
  99.       "name": "Send Embed Message"
  100.     },
  101.     {
  102.       "name": "End Action Sequence"
  103.     },
  104.     {
  105.       "comment": "Check If Voice Channel Exists",
  106.       "color": "#80ff80",
  107.       "name": "Comment"
  108.     },
  109.     {
  110.       "message": "0",
  111.       "varName": "",
  112.       "info": "1",
  113.       "ParamN": "1",
  114.       "separator": "",
  115.       "storage": "1",
  116.       "varName2": "voice_channel_name",
  117.       "name": "Store Message Params"
  118.     },
  119.     {
  120.       "info": "1",
  121.       "find": "${tempVars(\"voice_channel_name\")}",
  122.       "storage": "1",
  123.       "varName": "voice_channel",
  124.       "name": "Find Voice Channel"
  125.     },
  126.     {
  127.       "storage": "1",
  128.       "varName": "voice_channel",
  129.       "comparison": "0",
  130.       "value": "",
  131.       "iftrue": "3",
  132.       "iftrueVal": "4",
  133.       "iffalse": "0",
  134.       "iffalseVal": "",
  135.       "name": "Check Variable"
  136.     },
  137.     {
  138.       "title": "Whoops!",
  139.       "author": "${member.displayName}",
  140.       "color": "#f44242",
  141.       "timestamp": "true",
  142.       "url": "",
  143.       "authorIcon": "${member.user.displayAvatarURL}",
  144.       "imageUrl": "",
  145.       "thumbUrl": "",
  146.       "storage": "1",
  147.       "varName": "embed_check_voice_channel",
  148.       "name": "Create Embed Message"
  149.     },
  150.     {
  151.       "storage": "1",
  152.       "varName": "embed_check_voice_channel",
  153.       "message": "An error encountered while using this commands. Please enter a vaild voice-channel name.",
  154.       "name": "Set Embed Description"
  155.     },
  156.     {
  157.       "storage": "1",
  158.       "varName": "embed_check_voice_channel",
  159.       "channel": "0",
  160.       "varName2": "",
  161.       "name": "Send Embed Message"
  162.     },
  163.     {
  164.       "name": "End Action Sequence"
  165.     },
  166.     {
  167.       "comment": "Join voice channel",
  168.       "color": "#80ff80",
  169.       "name": "Comment"
  170.     },
  171.     {
  172.       "channel": "3",
  173.       "varName": "voice_channel",
  174.       "name": "Join Voice Channel"
  175.     },
  176.     {
  177.       "title": "Joined!",
  178.       "author": "${member.displayName}",
  179.       "color": "#ffffff",
  180.       "timestamp": "true",
  181.       "url": "",
  182.       "authorIcon": "${member.user.displayAvatarURL}",
  183.       "imageUrl": "",
  184.       "thumbUrl": "",
  185.       "storage": "1",
  186.       "varName": "embed_join",
  187.       "name": "Create Embed Message"
  188.     },
  189.     {
  190.       "storage": "1",
  191.       "varName": "embed_join",
  192.       "message": "Successfully joined voice-channel.",
  193.       "name": "Set Embed Description"
  194.     },
  195.     {
  196.       "storage": "1",
  197.       "varName": "embed_join",
  198.       "channel": "0",
  199.       "varName2": "",
  200.       "name": "Send Embed Message"
  201.     }
  202.   ]
  203. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top