Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Trigger: $onJoined[channelID]
- Script Language: BDScript 2
- Code:
- $nomention
- $var[reason;Suspicius account] $c[<= Kick reason (optional)]
- $c[Code to check user avatar]
- $c[1. Check if user didn't has avatar]
- $if[$checkContains[$authorAvatar;https://cdn.discordapp.com/embed/avatars/]]
- $c[5. Kick them]
- $kick[$authorID;$cropText[$var[reason];500;]]
- $c[Add another code above here, if you want a kick dm message or log]
- $c[Example:]
- $if[$isUserDMEnabled[$authorID]==true]
- $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]
- $endif
- $endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement