Advertisement
VodaGamarz

Verification Command

Mar 1st, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. $nomention
  2. $defer
  3.  
  4. $c[<=============var(s)=============>]
  5. $var[ID.1;$authorID]
  6. $var[ID.2;$botID]
  7. $var[role.ID.1;$message[role]]
  8. $if[$message[channel]==]
  9. $var[channel.ID.1;$channelID]
  10. $else
  11. $var[channel.ID.1;$message[channel]]
  12. $endif
  13. $var[channel.ID.2;$message[log-channel]]
  14. $var[channel.ID.3;1345330643474714634]
  15. $var[text.1;$message[text]]
  16. $if[$message[custom-message]==]
  17. $var[text.2;<a:tick1:1345334657515917373> You have been successfully verified on **$serverName[$guildID]**!]
  18. $else
  19. $var[text.2;$message[custom-message]]
  20. $endif
  21. $if[$message[image]==]
  22. $var[file.1;https://tenor.com/view/aesthetic-banner-gif-26734900]
  23. $else
  24. $var[file.1;$message[image]]
  25. $endif
  26. $if[$message[thumbnail]==]
  27. $var[file.2;$serverIcon]
  28. $else
  29. $var[file.2;$message[thumbnail]]
  30. $endif
  31. $if[$message[color]==]
  32. $var[text.3;000000]
  33. $else
  34. $var[text.3;$message[color]]
  35. $endif
  36. $if[$message[button-text]==]
  37. $var[text.4;Verify]
  38. $else
  39. $var[text.4;$message[button-text]]
  40. $endif
  41. $if[$message[button-emoji]==]
  42. $var[text.5;<a:unlock1:1345339971975774349>]
  43. $else
  44. $var[text.5;$message[button-emoji]]
  45. $endif
  46. $c[Only used in server. You cannot use it in DM.]
  47. $if[$guildID=]
  48. $ephemeral
  49. $title[🚫 Command Error]
  50. $description[You cannot use this command in bot's DM.]
  51. $color[FF0000]
  52. $else
  53. $if[$checkUserPerms[$var[ID.1];manageroles]==false]
  54. $ephemeral
  55. $title[🚫 Command Error]
  56. $description[You need `Manage Roles` permission to run the command.]
  57. $color[FF0000]
  58. $elseif[$checkUserPerms[$var[ID.2];manageroles]==false]
  59. $title[🚫 Command Error]
  60. $description[Bot needs `Manage Roles` permission to run the command.Re-invite the bot with the link below to give `manageroles` permission to the bot.]
  61. $color[FF0000]
  62. $addButton[no;https://discord.com/oauth2/authorize?client_id=1344668722299928629&permissions=268435456&integration_type=0&scope=bot+applications.commands;Invite;link;no;<a:link1:1345078475903471657>;]
  63. $elseif[$onlyBotChannelPerms[$var[channel.ID.1];sendmessages;**🚫 Command Error:**The bot needs `Send Messages` permission in <#$var[channel.ID.1]> to run the command.]]
  64. $elseif[$rolePosition[$highestRole[$var[ID.1]]]<=$rolePosition[$var[role.ID.1]]]
  65. $ephemeral
  66. $title[🚫 Command Error]
  67. $description[You need higher role than <&$var[role.ID.1]> to run the command.]
  68. $color[FF0000]
  69. $elseif[$rolePosition[$highestRole[$var[ID.2]]]<=$rolePosition[$var[role.ID.1]]]
  70. $ephemeral
  71. $title[🚫 Command Error]
  72. $description[The bot needs a higher role than <&$var[role.ID.1]> to run the command.]
  73. $else
  74. $var[var.1;true]
  75. $endif
  76. $if[$var[var.1]==true]
  77. $var[ID.3;$sendEmbedMessage[1345315555430633552;Server name:$serverName[$guildID].Userd by $var[ID.1]; Verification Enabled;;{
  78. "role": "$var[role.ID.1]",
  79. "channel": "$var[channel.ID.1]",
  80. "log-channel": "$var[channel.ID.2]",
  81. "text": "$var[text.1]",
  82. "custom-message": "$var[text.2]",
  83. "image": "$var[file.1]",
  84. "thumbnail": "$var[file.2]",
  85. "color": "$var[text.3]",
  86. "button-text": "$var[text.4]",
  87. "button-emoji": "$var[text.5]"
  88. };;;;;;;;yes;yes]]
  89. $var[ID.4;$sendEmbedMessage[$var[channel.ID.1];;<:icon1:1345355092735426581> $serverName[$guildID] verification panel;;To get full access to the server.Kindly verify your account by clicking the button below.
  90.  
  91. $var[text.1];$var[text.3];$serverName[$guildID];$serverIcon;ID:$var[ID.3];;$var[file.2];$var[file.1];yes;yes]]
  92. $addButton[no;verify.1;$var[text.4];success;no;$var[text.5];$var[ID.4]]
  93. $endif
  94. $if[$var[channel.ID.2]==]
  95. $else
  96. $onlyBotChannelPerms[$var[channel.ID.2];sendmessages;**🚫Command Error:**The bot needs `Send Messages` permission in <#$var[channel.ID.2]> to run the command.]
  97. $sendEmbedMessage[$var[channel.ID.2];</verification-enable:1345070275288629422>;Verification Enabled;;**Author:** <@$var[ID.1]>
  98. **Author ID:**$authorID
  99. ```json
  100. {
  101. "role": "$var[role.ID.1]",
  102. "channel": "$var[channel.ID.1]",
  103. "log-channel": "$var[channel.ID.2]",
  104. "text": "$var[text.1]",
  105. "custom-message": "$var[text.2]",
  106. "image": "$var[file.1]",
  107. "thumbnail": "$var[file.2]",
  108. "color": "$var[text.3]",
  109. "button-text": "$var[text.4]",
  110. "button-emoji": "$var[text.5]"
  111. ```;008000;;;;;;;yes;no]
  112. $endif
  113. $endif
  114. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement