Tutorials_for_BDFD

Star board en

Oct 6th, 2022 (edited)
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. Variablen : starboardChannel
  2.  
  3. __Code 1__
  4. Trigger : !star
  5.  
  6. $argsCheck[>2;mention the channel and MessageID. !star #profiles 737846283]
  7. $nomention
  8. $title[**Starboard of the day**]
  9. $description[⭐ **__Message:__** ⭐️
  10. **$getMessage[$mentionedChannels[1;yes];$noMentionMessage]**
  11.  
  12. **Date Posted:** $creationDate[$noMentionMessage]
  13. **Author of Message:** <@$authorOfMessage[$mentionedChannels[1;yes];$noMentionMessage]>]
  14. $footer[Starred by: $username]
  15. $color[dbb200]
  16. $addReactions[✨;⭐;🌟;💫]
  17. $addTimestamp
  18. $thumbnail[$userAvatar[$authorOfMessage[$mentionedChannels[1;yes];$noMentionMessage]]]
  19. $onlyAdmin[You need "Administrator" permission.]
  20. $deletecommand
  21. $cooldown[10s;You need to wait %time%]
  22. $onlyIf[$getServerVar[StarboardChannel;$guildID]!=not set;Starboard channel has not set.]
  23. $useChannel[$getServerVar[StarboardChannel;$guildID]]
  24.  
  25. __Code 2__
  26. Trigger :!setchannel
  27.  
  28. $nomention
  29. $setServerVar[StarboardChannel;$mentionedChannels[1;no]]
  30. $description[Successfully set starboard channel to <#$mentionedChannels[1;no]>]
  31. $onlyIf[$message[1]!=;:negative_squared_cross_mark: Please provide a channel!]
  32. $onlyPerms[managechannels;You Dont Have Permission To Execute This Command]
  33. $color[00ff00]
  34. $argsCheck[>1;pls mention a channel]
  35.  
  36.  
  37. __Code 3__
  38. Trigger : !resetchannel
  39.  
  40. $nomention
  41. $resetServerVar[StarboardChannel]
  42. $description[successful reseted the starboard channel]
  43. $color[00ff00]
  44. $onlyPerms[managechannels;You Dont Have Permission To Execute This Command]
Advertisement
Add Comment
Please, Sign In to add comment