Advertisement
VodaGamarz

Verification Command $onInteraction[verify.1]

Mar 6th, 2025
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.57 KB | None | 0 0
  1. $nomention
  2. $serverCooldown[10s;$ephemeral**🚫 Cooldown:** Wait %time% more to use the command again.]
  3. $var[text.1;$getEmbedData[$channelID;$messageID;1;footer]]
  4. $textSplit[$var[text.1];:]
  5. $var[text.2;$splitText[2]]
  6. $textSplit[$var[text.2];|]
  7. $var[text.3;$splitText[1]]
  8. $var[text.4;$getEmbedData[1345315555430633552;$var[text.3];1;description]]
  9. $jsonParse[$var[text.4]]
  10. $if[$findRole[$json[role]]==]
  11. $title[🚫 Command Error]
  12. $description[The verified role found in the database but not in the server.Was it deleted?
  13. Report it to a staff or via </report:1346651688378961940> in bot's DM/PM.]
  14. $color[ff0000]
  15. $removeAllComponents
  16. $sendEmbedMessage[1346806510063194112;;🚫 Command Error;;The verified role found in the database but not in the server.Was it deleted?
  17. **Panel Id:**$var[text.3];ff0000;;;;;;;yes;no]
  18. $stop
  19. $endif
  20. $if[$json[log-channel]!=]
  21. $if[$findChannel[$json[log-channel]]==]
  22. $title[🚫 Command Error]
  23. $description[The log-channel found in the database but not in the server.Was it deleted?
  24. Report it to a staff or via </report:1346651688378961940> in bot's DM/PM.]
  25. $color[ff0000]
  26. $removeAllComponents
  27. $sendEmbedMessage[1346806510063194112;;🚫 Command Error;;The log-channel found in the database but not in the server.Was it deleted?
  28. **Panel Id:**$var[text.3];ff0000;;;;;;;yes;no]
  29. $stop
  30. $endif
  31. $endif
  32. $if[$or[$checkUserPerms[$botID;manageroles]==true;$checkUserPerms[$botID;admin]==true]!=true]
  33. $title[🚫 Command Error]
  34. $description[Bot needs `Manage Roles` or `Admin` or both of the permission(s) to run the command.
  35. Report it to a staff or via </report:1346651688378961940> in bot's DM/PM.]
  36. $color[ff0000]
  37. $removeAllComponents
  38. $sendEmbedMessage[1346806510063194112;;🚫 Command Error;;Bot needs `Manage Roles` or `Admin` or both of the permission(s) to run the command.
  39. **Panel Id:**$var[text.3];ff0000;;;;;;;yes;no]
  40. $stop
  41. $endif
  42. $if[$rolePosition[$highestRole[$botID]]>=$rolePosition[$json[role]]]
  43. $title[🚫 Command Error]
  44. $description[Bot needs higher role than <@&$json[role]> to run the command.
  45. Report it to a staff or via </report:1346651688378961940> in bot's DM/PM.]
  46. $color[ff0000]
  47. $removeAllComponents
  48. $sendEmbedMessage[1346806510063194112;;🚫 Command Error;;Bot needs higher role than <@&$json[role]> to run the command.
  49. **Panel Id:**$var[text.3];ff0000;;;;;;;yes;no]
  50. $stop
  51. $endif
  52. $if[$getUserVar[verify;$authorID;$guildID]==true]
  53. $title[🚫 Command Error]
  54. $description[You are already verified in this guild.
  55. If you think its and bug, kindly report it to a staff or via </report:1346651688378961940> in bot's DM/PM.]
  56. $color[ff0000]
  57. $removeAllComponents
  58. $stop
  59. $endif
  60. $c[<==========================>]
  61. $var[time.1;$creationDate[$authorID;05]]
  62.  
  63. $var[cdt.1;$optOff[$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$var[time.1];s;;1];m;;1];h;;1];d;;1];w;;1]]]
  64.  
  65. $var[cdt.2;$optOff[$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$checkContains[$var[time.1];s];true;$sum[$getTimestamp;$multi[$var[cdt.1];1]];1]$checkContains[$var[time.1];m];true;$sum[$getTimestamp;$multi[$var[cdt.1];60]];1]$checkContains[$var[time.1];h];true;$sum[$getTimestamp;$multi[$var[cdt.1];3600]];1]$checkContains[$var[time.1];d];true;$sum[$getTimestamp;$multi[$var[cdt.1];86400]];1]$checkContains[$var[time.1];w];true;$sum[$getTimestamp;$multi[$var[cdt.1];604800];1]]]]
  66.  
  67. $var[cdt.3;$replaceText[$var[cdt.2];false;;-1]]
  68. $c[<==========================>]
  69. $c[<==========================>]
  70. $var[time.2;$userJoined[$authorID;05]]
  71.  
  72. $var[udt.1;$optOff[$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$var[time.2];s;;1];m;;1];h;;1];d;;1];w;;1]]]
  73.  
  74. $var[udt.2;$optOff[$replaceText[$replaceText[$replaceText[$replaceText[$replaceText[$checkContains[$var[time.2];s];true;$sum[$getTimestamp;$multi[$var[udt.1];1]];1]$checkContains[$var[time.2];m];true;$sum[$getTimestamp;$multi[$var[udt.1];60]];1]$checkContains[$var[time.2];h];true;$sum[$getTimestamp;$multi[$var[udt.1];3600]];1]$checkContains[$var[time.2];d];true;$sum[$getTimestamp;$multi[$var[udt.1];86400]];1]$checkContains[$var[time.2];w];true;$sum[$getTimestamp;$multi[$var[udt.1];604800];1]]]]
  75.  
  76. $var[udt.3;$replaceText[$var[udt.2];false;;-1]]
  77. $c[<==========================>]
  78. $if[$hasRole[$authorID;$json[role]]==false]
  79. $roleGrant[$authorID;+$json[role]]
  80. $setUserVar[verify;true;$authorID;$guildID]
  81. $ephemeral
  82. $title[<a:tick1:1345334657515917373> Successfully Verified!]
  83. $description[$json[custom-message]]
  84. $addField[Role Grant;+<@&$json[role]>]
  85. $color[00ff00]
  86. $removeAllComponents
  87. $if[$json[log-channel]!=]
  88. $sendEmbedMessage[$json[log-channel];;Successfully Verified!;;**User:**$username($authorID)
  89. **Panel Id:**$var[text.3]
  90. **Role Grant**+<@&$json[role]>
  91. **User Joined Discord:**<t:$var[cdt.3]:F>(<t:$var[cdt.3]:R>)
  92. **User Joined this Server:**<t:$var[udt.3]:F>(<t:$var[udt.3]:R>);00ff00;$username[$authorID];$authorAvatar;$serverName[$guildID];$serverIcon;;;yes;no]
  93. $endif
  94. $endif
  95. $if[$hasRole[$authorID;$json[role]]==true]
  96. $ephemeral
  97. $setUserVar[verify;true;$authorID;$guildID]
  98. $title[<a:tick1:1345334657515917373> Successfully Verified!]
  99. $description[$json[custom-message]]
  100. $addField[Role Grant;You already have this role, so you will not be assigned this role again.]
  101. $color[00ff00]
  102. $removeAllComponents
  103. $if[$json[log-channel]!=]
  104. $sendEmbedMessage[$json[log-channel];;Successfully Verified!;;**User:**$username($authorID)
  105. **Panel Id:**$var[text.3]
  106. **Role Grant:**
  107. **User Joined Discord:**<t:$var[cdt.3]:F>(<t:$var[cdt.3]:R>)
  108. **User Joined this Server:**<t:$var[udt.3]:F>(<t:$var[udt.3]:R>);00ff00;$username[$authorID];$authorAvatar;$serverName[$guildID];$serverIcon;;;yes;no]
  109. $endif
  110. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement