Tutorials_for_BDFD

Channel Managment

Sep 9th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. ___Code 1__
  2.  
  3. Trigger : !slow
  4.  
  5. Code :
  6.  
  7. $onlyIf[$guildID!=;❌ ┃This does not go in DM's]
  8. $nomention
  9. $title[⏳┃ Slow mode]
  10. $description[Slowmod was successfully set to $noMentionMessage in <#$channelID>.]
  11. $footer[Command Executed by $username]
  12. $color[ff0101]
  13. $onlyPerms[managechannels ;❌ ┃You have no rights to this]
  14. $slowmode[$mentionedChannels[1;yes] ; $message[1]]
  15. $argsCheck[>1;❌ ┃ Please use `!slow` (time in seconds)]
  16. $suppressErrors
  17.  
  18.  
  19. ___Code 2__
  20.  
  21. Trigger : !block
  22.  
  23. codes :
  24.  
  25. $onlyIf[$guildID!=;❌ ┃This doesn't work in DM's]
  26. $nomention
  27. $modifyChannelPerms[$channelID;-sendmessages;$guildID]
  28. $color[ff0101]
  29. $title[:closed_lock_with_key:**Locked**:closed_lock_with_key:]
  30. $description[<#$channelID> **has been locked**
  31.  
  32. **Reason** `$noMentionMessage`
  33.  
  34. *You are not muted so don't message anyone to unmute you, the channel is just blocked*]
  35. $footer[$username#$discriminator[$authorID]]
  36. $footerIcon[$authorAvatar]
  37. $deletecommand
  38. $onlyPerms[managechannels ;❌┃ You have no rights to this]
  39.  
  40.  
  41. ___Code 3___
  42.  
  43. Trigger !unblock
  44.  
  45. Code :
  46.  
  47. $onlyIf[$guildID!=;❌ ┃This doesn't work in DM's]
  48. $nomention
  49. $modifyChannelPerms[$channelID;+sendmessages;-mentioneveryone;$guildID]
  50.  
  51. $title[:unlock:**Unblocked**:unlock:]
  52. $description[<#$channelID> was unlocked for reason $message]
  53. $footer[Executed by] $addTimestamp
  54. $color[0]
  55. $deletecommand
  56. $footerIcon[$authorAvatar]
  57. $onlyPerms[managechannels ;❌┃ You have no rights to this]
  58.  
  59.  
  60. ___Code 4___
  61.  
  62. trigger !clear
  63.  
  64. codes :
  65.  
  66. $onlyIf[$guildID!=; ❌┃This does not go in DM's]
  67. $nomention
  68. $clear[$message]
  69. $title[🗑️┃messages deleted ]
  70. $color[00FF00]
  71. $description[**$username** deleted **$message** messages!]
  72. $footer[$message has been deleted!]
  73. $deletecommand
  74. $argsCheck[1;❌┃ Hey! You still have to tell me how many messages I should delete!]
  75. $onlyPerms[managemessages ;❌ ┃ You have no rights to this]
  76. $suppressErrors[❌┃Error deleting messages]
Advertisement
Add Comment
Please, Sign In to add comment