Dreamer_1314

Verification System

Dec 12th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. Variables :
  2. Verification Role =
  3.  
  4. Command 1 :
  5. Trigger : .set-verification-role
  6. Language : BDScript 2
  7. Code :
  8. $nomention
  9. $onlyIf[$mentionedRoles[1]!=;Pls mention a role that a user gets once they are verified]
  10. Successfully set <@&$mentionedRoles[1]> as the role that a user gets once they verify
  11. $setServerVar[Verification Role;$mentionedRoles[1]]
  12.  
  13. Command 2 :
  14. Trigger : .set-verification-channel
  15. Language : BDScript 2
  16. Code :
  17. $nomention
  18. $onlyAdmin[Only admins can use this command]
  19. $deletecommand
  20. $title[Verify]
  21. $description[Please click the verify button in this message to get the <@&$getServerVar[Verification Role]> role and gain access to rest of the server. If you didn't get the role try contacting a mod]
  22. $color[0000ff]
  23. $addButton[no;Verify;Verify;primary;no;🛡️]
  24.  
  25. Command 3 :
  26. Trigger : $onInteraction[Verify]
  27. Language : BDScript 2
  28. Code :
  29. $nomention
  30. $removeButtons
  31. $ephemeral
  32. You are now verified and have access to the rest of the server!
  33. $roleGrant[$authorID;+$getServerVar[Verification Role]]
Advertisement
Add Comment
Please, Sign In to add comment