BDFD_Berk

Welcomer/Goodbye WITH variables

Jan 11th, 2021 (edited)
6,930
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. [IMPORTANT] A NEW VERSION OF THIS CODE HAS BEEN RELEASED, FIND IT AT: https://www.youtube.com/watch?v=VKe22eGeXpA
  2. THE CODE YOU SEE BELOW MAY NOT WORK! PLEASE USE THE UPDATED VERSION OF THE LINK ABOVE.
  3.  
  4. https://discord.gg/GfUYzXnA Join here for more epic codes!
  5.  
  6. Welcome
  7. Trigger: $onJoined[$getServerVar[welcome]]
  8. $image[https://api.xzusfin.repl.co/card?avatar=$replaceText[$authorAvatar;.
  9. webp;.png;1]?size=2048&middle=Welcome&name=$replaceText[$replaceText[$username[$authorID]#$discriminator[$authorID];#;%23;-1]; ;%20;-1]&bottom=$replaceText[We are now $membersCount members; ;%20;-1]&background=https://cdn.discordapp.com/attachments/789656208276848682/798106281189572645/default11.png&text=%23ffffff&avatarborder=%23FFFFFF&avatarbg=%23FF28b3]
  10. $suppressErrors
  11.  
  12. Goodbye
  13. Trigger: $onLeave[$getServerVar[goodbye]]
  14. $image[https://api.xzusfin.repl.co/card?avatar=$replaceText[$authorAvatar;.webp;.png;1]?size=2048&middle=Goodbye&name=$replaceText[$replaceText[$username[$authorID]#$discriminator[$authorID];#;%23;-1]; ;%20;-1]&bottom=$replaceText[Now we are $membersCount members; ;%20;-1]&background=https://cdn.discordapp.com/attachments/789656208276848682/798106281189572645/default11.png&text=%23ffffff&avatarborder=%23FFFFFF&avatarbg=%23FF28b3]
  15. $suppressErrors
  16.  
  17. ============== Setup channel ==============
  18.  
  19. Set welcomer
  20. Trigger: (prefix)setwelcome
  21. $setServerVar[welcome;$mentionedChannels[>;yes]]
  22. $description[The channel <#$mentionedChannels[>;yes]> was setted as welcome channel, i will welcome the new users in that channel]
  23. $footer[Setted by $username[$authorID]#$discriminator[$authorID]]
  24. $onlyPerms[manageserver;You need manage server permissions to set this!]
  25. $color[fffff1]
  26. $addTImestamp
  27.  
  28.  
  29. Set goodbye
  30. Trigger: (prefix)setleave
  31. $setServerVar[goodbye;$mentionedChannels[>;yes]]
  32. $description[The channel <#$mentionedChannels[>;yes]> was setted as goodbye channel, i will say goodbye in that channel to the users that leave]
  33. $footer[Setted by $username[$authorID]#$discriminator[$authorID]]
  34. $onlyPerms[manageserver;You need manage server permissions to set this!]
  35. $color[fffff1]
  36. $addTImestamp]
  37.  
  38. ============== Variables (Create them in lowercases and without values) ==============
  39. welcome
  40.  
  41. goodbye
  42.  
  43. btw join
  44. https://discord.gg/GfUYzXnA
Add Comment
Please, Sign In to add comment