Heisisi

Untitled

Jan 16th, 2025 (edited)
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. This is my first time uploading on wiki...
  2. Also if any error ping me in support username (cenzo.tz)
  3.  
  4.  
  5.  
  6. $nomention
  7. $suppressErrors[something wrong]
  8. $onlyIf[$guildID!=;]
  9. $try
  10. $onlyPerms[ban;]
  11. $catch
  12. $nomention
  13. $title[Access declined]
  14. $description[<a:arivory_cross:1328466593776275587> | You don't have Ban permission]
  15. $footerIcon[$authorAvatar]
  16. $footer[executed by $username $addTimestamp]
  17. $color[#00eeff]
  18. $stop
  19. $endtry
  20.  
  21. $try
  22. $onlyIf[$mentioned[1]!=;]
  23. $catch
  24. $nomention
  25. $title[<a:arivory_cross:1328466593776275587> Invalid command usage!]
  26. $description[ **_Example_** - !ban @username (reason)
  27. **Mentioned user will get banned**]
  28. $footerIcon[$authorAvatar]
  29. $footer[Executed by $username $addTimestamp]
  30. $color[#00eeff]
  31. $stop
  32. $endtry
  33.  
  34. $try
  35. $onlyBotPerms[ban;]
  36. $catch
  37. $nomention
  38. $title[Need Access]
  39. $description[I don't have Ban permission ]
  40. $footerIcon[$authorAvatar]
  41. $footer[Powered by cenzo.tz]
  42. $color[#00eeff]
  43. $stop
  44. $endtry
  45.  
  46. $try
  47. $onlyIf[$rolePosition[$highestRole[$authorID]]<=$rolePosition[$highestRole[$mentioned[1]]];]
  48. $catch
  49. $nomention
  50. $title[ No ]
  51. $description[You can't ban someone who has higher role than you]
  52. $footerIcon[$authorAvatar]
  53. $footer[$addTimestamp]
  54. $color[#00eeff]
  55. $stop
  56. $endtry
  57.  
  58. $if[$mentioned[1]!=]
  59. $try
  60. $onlyIf[$rolePosition[$highestRole[$authorID]]<=$rolePosition[$highestRole[$mentioned[1]]];]
  61. $catch
  62. $description[<a:arivory_cross:1328466593776275587> | I can't ban admins!]
  63. $color[#00eeff]
  64. $stop
  65. $endtry
  66. $endif
  67.  
  68. $try
  69. $onlyIf[$mentioned[1]!=$authorID;]
  70. $catch
  71. $nomention
  72. $description[ <a:arivory_cross:1328466593776275587> | You can't ban yourself!]
  73. $color[#00eeff]
  74. $stop
  75. $endtry
  76.  
  77. $title[User got banned]
  78. $thumbnail[$serverIcon[$guildID]]
  79. $description[
  80. $ban[$message[2]]
  81. **__Victim__**- <@$mentioned[1]>
  82. **__Moderator__** - <@$authorID>
  83. **__Reason__** - $noMentionMessage]
  84. $footerIcon[$serverIcon[$guildID]]
  85. $footer[Executed by $username $addTimestamp]
  86. $color[#00eeff]
Tags: BDFD
Advertisement
Add Comment
Please, Sign In to add comment