Advertisement
VodaGamarz

Verification Command

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