Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Variables :
- Verification Role =
- Command 1 :
- Trigger : .set-verification-role
- Language : BDScript 2
- Code :
- $nomention
- $onlyIf[$mentionedRoles[1]!=;Pls mention a role that a user gets once they are verified]
- Successfully set <@&$mentionedRoles[1]> as the role that a user gets once they verify
- $setServerVar[Verification Role;$mentionedRoles[1]]
- Command 2 :
- Trigger : .set-verification-channel
- Language : BDScript 2
- Code :
- $nomention
- $onlyAdmin[Only admins can use this command]
- $deletecommand
- $title[Verify]
- $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]
- $color[0000ff]
- $addButton[no;Verify;Verify;primary;no;🛡️]
- Command 3 :
- Trigger : $onInteraction[Verify]
- Language : BDScript 2
- Code :
- $nomention
- $removeButtons
- $ephemeral
- You are now verified and have access to the rest of the server!
- $roleGrant[$authorID;+$getServerVar[Verification Role]]
Advertisement
Add Comment
Please, Sign In to add comment