SHARE
TWEET

Untitled

a guest Oct 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2.  botname: Botnamehere
  3.  prefixes: "!", "%mention tag of event-bot% "
  4.  modroles: Head Staff/Admin Team, Warden, Supervisor and Senior Guard
  5.  
  6. on load:
  7.  wait 1 second
  8.  login to "NjI5NTE5Mjg3ODc0NDg2Mjgy.Xa4DoA.8daIiafkzMokbCyXmazlGNHIFD0" with name "{@botname}"
  9.  make embed:
  10.   set color of embed to green
  11.   set description of embed to "**:white_check_mark: Server is online**"
  12.  send last made embed to channel with id "635853018683932672" with "{@botname}"
  13.  broadcast "&aDiscord bot is ready"
  14.  
  15. on unload:
  16.  logout of "{@botname}"
  17.  broadcast "&cDiscord bot disconnected"
  18.  
  19. on chat:
  20.  send "%sender% > %message%" to channel with id "635853018683932672" with "{@botname}"
  21.  
  22. on join:
  23.  make embed:
  24.   set color of embed to green
  25.   set description of embed to "%player% joined"
  26.  send last made embed to channel with id "635853018683932672" with "{@botname}"
  27.  
  28. on quit:
  29.  make embed:
  30.   set color of embed to red
  31.   set description of embed to "%player% left"
  32.  send last made embed to channel with id "635853018683932672" with "{@botname}"
  33.  
  34. on guild message received seen by "{@botname}":
  35.  if id of event-channel is "635853018683932672":
  36.   delete event-message
  37.   if content of event-message contains "@":
  38.    send ":x: **%mention tag of event-member% You can't ping people on this channel!**" to channel with id "635853018683932672" with "{@botname}"
  39.    stop
  40.   set {_roles::*} to roles of event-member
  41.   broadcast "&bDiscord &8> &7[%{_roles::1}%] &b%event-member%: &7%content of event-message%"
  42.   send "%event-member% > %event-message%" to channel with id "635853018683932672" with "{@botname}"
  43.  
  44. discord command ip:
  45.  prefixes: {@prefixes}
  46.  bots: {@botname}
  47.  trigger:
  48.   make embed:
  49.    set color of embed to red
  50.    set title of embed to "Join our server!"
  51.    set description of embed to "**Server ip**: westmine.minehut.gg **"
  52.   reply with last made embed
  53.  
  54. discord command ban [<member>] [<text>]:
  55.  roles: {@modroles}
  56.  bots: {@botname}
  57.  prefixes: {@prefixes}
  58.  trigger:
  59.   if arg 1 is not set:
  60.    reply with ":x: **%mention tag of event-member% specify the member you would like to ban!**"
  61.    stop
  62.   if arg 2 is set:
  63.    set {_reason} to arg 2
  64.   else:
  65.    set {_reason} to "Banned by a moderator"
  66.   ban arg 1 from event-guild due to "%{_reason}%"
  67.   reply with ":white_check_mark: %arg 1% has been banned! %nl% Reason: %{_reason}%"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top