Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1.  
  2. options:
  3. botname: Westmine History
  4. prefixes: "!", "%mention tag of event-bot% "
  5. modroles: Head Staff/Admin Team, Warden, Supervisor and Senior Guard
  6.  
  7. on load:
  8. wait 1 second
  9. login to "NjI5NTE5Mjg3ODc0NDg2Mjgy.Xa4DoA.8daIiafkzMokbCyXmazlGNHIFD0" with name "{@botname}"
  10. make embed:
  11. set color of embed to green
  12. set description of embed to "**:white_check_mark: Server is online**"
  13. send last made embed to channel with id "635853018683932672" with "{@botname}"
  14. broadcast "&aDiscord bot is ready"
  15.  
  16. on unload:
  17. logout of "{@botname}"
  18. broadcast "&cDiscord bot disconnected"
  19.  
  20. on chat:
  21. send "%sender% > %message%" to channel with id "635853018683932672" with "{@botname}"
  22.  
  23. on join:
  24. make embed:
  25. set color of embed to green
  26. set description of embed to "%player% joined"
  27. send last made embed to channel with id "635853018683932672" with "{@botname}"
  28.  
  29. on quit:
  30. make embed:
  31. set color of embed to red
  32. set description of embed to "%player% left"
  33. send last made embed to channel with id "635853018683932672" with "{@botname}"
  34.  
  35. on guild message received seen by "{@botname}":
  36. if id of event-channel is "635853018683932672":
  37. delete event-message
  38. if content of event-message contains "@":
  39. send ":x: **%mention tag of event-member% You can't ping people on this channel!**" to channel with id "635853018683932672" with "{@botname}"
  40. stop
  41. set {_roles::*} to roles of event-member
  42. broadcast "&bDiscord &8> &7[%{_roles::1}%] &b%event-member%: &7%content of event-message%"
  43. send "%event-member% > %event-message%" to channel with id "635853018683932672" with "{@botname}"
  44.  
  45. discord command ip:
  46. prefixes: {@prefixes}
  47. bots: {@botname}
  48. trigger:
  49. make embed:
  50. set color of embed to red
  51. set title of embed to "Join our server!"
  52. set description of embed to "**Server ip**: westmine.minehut.gg **"
  53. reply with last made embed
  54.  
  55. discord command ban [<member>] [<text>]:
  56. roles: {@modroles}
  57. bots: {@botname}
  58. prefixes: {@prefixes}
  59. trigger:
  60. if arg 1 is not set:
  61. reply with ":x: **%mention tag of event-member% specify the member you would like to ban!**"
  62. stop
  63. if arg 2 is set:
  64. set {_reason} to arg 2
  65. else:
  66. set {_reason} to "Banned by a moderator"
  67. ban arg 1 from event-guild due to "%{_reason}%"
  68. reply with ":white_check_mark: %arg 1% has been banned! %nl% Reason: %{_reason}%"
  69.  
  70. discord command mute [<member>]:
  71. roles: {@modroles}
  72. bots: {@botname}
  73. prefixes: {@prefixes}
  74. trigger:
  75. if arg 1 is not set:
  76. reply with ":x: **%mention tag of event-member% specify the member you would like to mute!**"
  77. stop
  78. if arg 1 is set:
  79. mute arg 1 using "%{@botname}%"
  80. reply with ":white_check_mark: %arg 1% has been unmuted!"
  81.  
  82. discord command unmute [<member>]:
  83. roles: {@modroles}
  84. bots: {@botname}
  85. prefixes: {@prefixes}
  86. trigger:
  87. if arg 1 is not set:
  88. reply with ":x: **%mention tag of event-member% specify the member you would like to unmute!**"
  89. stop
  90. if arg 1 is set:
  91. unmute arg 1 using "{@botname}"
  92. reply with ":white_check_mark: %arg 1% has been unmuted!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement