Advertisement
Jiwon0001

Moderation

Sep 10th, 2021
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Moderation Commands
  2. Ban Command
  3. Code:
  4.  
  5. $nomention
  6. $onlyIf[$guildID!=;]
  7. $onlyPerms[ban;You are Missing the Ban Permission]
  8. $onlyBotPerms[ban;Bot is Missing the Ban Permission]
  9. $onlyIf[$mentioned[1]!=;Please Mention someone to Ban]
  10. $onlyIf[$mentioned[1]!=;I can't Ban myself]
  11. $onlyIf[$mentioned[1]!=$serverOwner;You can't Ban the Owner Of the Server]
  12. $onlyIf[$rolePosition[$highestRole[$authorID]]<$rolePosition[$highestRole[$mentioned[1]]];You can't Ban someone who has Higher Role than you]
  13. $banID[$noMentionMessage;$mentioned[1]]
  14. $author[Ban System]
  15. $authorIcon[$authorAvatar]
  16. $title[User Banned!]
  17. $description[<@$mentioned[1]> Has Been Banned
  18. $replaceText[$noMentionMessage;$noMentionMessage;Reason: $noMentionMessage;1]
  19. Moderator: <@$authorID>
  20. Time Banned: <t:$getTimestamp:T>]
  21. $color[$random[1;99999]]
  22. $addTimestamp
  23. $suppressErrors
  24.  
  25. UnBan Command
  26. Code:
  27.  
  28. $nomention
  29. $onlyIf[$guildID!=;]
  30. $onlyPerms[ban;You are Missing the Ban Permission]
  31. $onlyBotPerms[ban;Bot is Missing the Ban Permission]
  32. $onlyIf[$isNumber[$noMentionMessage]==true;Please provide a User ID to Unban]
  33. $unbanID[$noMentionMessage]
  34. $author[Ban System]
  35. $authorIcon[$authorAvatar]
  36. $title[User UnBanned!]
  37. $description[<@$noMentionMessage> has been UnBanned!
  38. Time Unbanned: <t:$getTimestamp:T>]
  39. $color[$random[1;99999]]
  40. $addTimestamp
  41. $suppressErrors[User not Banned]
  42.  
  43. Kick Command
  44. Code:
  45.  
  46. $nomention
  47. $onlyIf[$guildID!=;]
  48. $onlyPerms[kick;You are Missing the Kick Permission]
  49. $onlyBotPerms[kick;Bot is Missing the Kick Permission]
  50. $onlyIf[$mentioned[1]!=;Please Mention someone to Kick]
  51. $onlyIf[$mentioned[1]!=;I can't Kick myself]
  52. $onlyIf[$mentioned[1]!=$serverOwner;You can't Kick the Server Owner Out Of the Server]
  53. $onlyIf[$rolePosition[$highestRole[$authorID]]<$rolePosition[$highestRole[$mentioned[1]]];You can't Kick someone who has Higher Role than you]
  54. $kickMention
  55. $author[Kick System]
  56. $authorIcon[$authorAvatar]
  57. $title[User Kicked!]
  58. $description[<@$mentioned[1]> has been Kicked out of **$serverName[$guildID]**
  59. Moderator: <@$authorID>
  60. Time Kicked: <t:$getTimestamp:T>
  61. $replaceText[$noMentionMessage;$noMentionMessage;Reason: $noMentionMessage;1]]
  62. $color[$random[1;99999]]
  63. $suppressErrors[Missing Arguments]
  64.  
  65. Set Mute Role Command
  66. Code:
  67.  
  68. $nomention
  69. $onlyIf[$guildID!=;]
  70. $c[Make a Variable MuteRole, Value: 0]
  71. $varExistError[MuteRole;Please Add a Variable Called `MuteRole`, Value: 0]
  72. $onlyBotPerms[manageroles;Bot Required Permission: Manage_Roles]
  73. $onlyPerms[manageroles;User Required Permission: Manage_Roles]
  74. $onlyIf[$mentionedRoles[1]!=;Please Mention The Mute Role you Want to Set]
  75. $setServerVar[MuteRole;$mentionedRoles[1];$guildID]
  76. $author[Mute System]
  77. $authorIcon[$authorAvatar]
  78. $description[<@&$mentionedRoles[1]> has been Set for the Server Mute Role]
  79. $color[$random[1;99999]]
  80. $addTimestamp
  81. $suppressErrors
  82.  
  83. Mute Command
  84. Code:
  85.  
  86. $nomention
  87. $onlyIf[$guilID!=;]
  88. $c[Make a Variable MuteRole, Value: 0]
  89. $varExistError[MuteRole;Please Add a Variable Called `MuteRole`, Value: 0]
  90. $onlyIf[$getServerVar[MuteRole;$guildID]!=0;Server Mute Role has not Been Set!]
  91. $onlyBotPerms[manageroles;Bot Required Permission: Manage_Roles]
  92. $onlyPerms[manageroles;User Required Permission: Manage_Roles]
  93. $onlyIf[$mentioned[1]!=;Please Mention Someone To Mute]
  94. $onlyIf[$isAdmin[$mentioned[1]]!=true;You can't mute an Admin User]
  95. $giveRole[$mentioned[1];$getServerVar[MuteRole;$guildID]]
  96. $author[Mute System]
  97. $authorIcon[$authorAvatar]
  98. $title[User Muted!]
  99. $description[<@$mentioned[1]> has been Muted
  100. Moderator: <@$authorID>
  101. Time Muted: <t:$getTimestamp:T>
  102. $replaceText[$noMentionMessage;$noMentionMessage;Reason: $noMentionMessage;1]]
  103. $color[$random[1;99999]]
  104. $addTimestamp
  105. $suppressErrors
  106.  
  107. Unmute Command
  108. Code:
  109.  
  110. $nomention
  111. $onlyIf[$guilID!=;]
  112. $c[Make a Variable MuteRole, Value: 0]
  113. $varExistError[MuteRole;Please Add a Variable Called `MuteRole`, Value: 0]
  114. $onlyIf[$getServerVar[MuteRole;$guildID]!=0;Server Mute Role has not Been Set!]
  115. $onlyBotPerms[manageroles;Bot Required Permission: Manage_Roles]
  116. $onlyPerms[manageroles;User Required Permission: Manage_Roles]
  117. $onlyIf[$mentioned[1]!=;Please Mention Someone To UnMute]
  118. $takeRole[$mentioned[1];$getServerVar[MuteRole;$guildID]]
  119. $author[Mute System]
  120. $authorIcon[$authorAvatar]
  121. $title[User Muted!]
  122. $description[<@$mentioned[1]> has been Muted
  123. Time UnMuted: <t:$getTimestamp:T>]
  124. $color[$random[1;99999]]
  125. $addTimestamp
  126. $suppressErrors
  127.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement