Advertisement
StaffVanish

BDFD - Kick user if they doesn't has avatar

Mar 1st, 2024
784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.66 KB | Source Code | 0 0
  1. Trigger: $onJoined[channelID]
  2. Script Language: BDScript 2
  3. Code:
  4. $nomention
  5. $var[reason;Suspicius account] $c[<= Kick reason (optional)]
  6.  
  7.  
  8. $c[Code to check user avatar]
  9.  
  10. $c[1. Check if user didn't has avatar]
  11. $if[$checkContains[$authorAvatar;https://cdn.discordapp.com/embed/avatars/]]
  12.  
  13. $c[5. Kick them]
  14. $kick[$authorID;$cropText[$var[reason];500;]]
  15.  
  16. $c[Add another code above here, if you want a kick dm message or log]
  17.  
  18. $c[Example:]
  19.  
  20. $if[$isUserDMEnabled[$authorID]==true]
  21. $channelSendMessage[$dmChanelID[$authorID;Hi <@$authorID>, You're suspicius because you doesn't have a avatar. You must have a avatar, before join this server again]
  22. $endif
  23.  
  24. $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement