Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- botname: Westmine History
- prefixes: "!", "%mention tag of event-bot% "
- modroles: Head Staff/Admin Team, Warden, Supervisor and Senior Guard
- memberroles: mute
- helperroles: Helper and Trial Guard
- on load:
- wait 1 second
- login to "NjI5NTE5Mjg3ODc0NDg2Mjgy.Xa4DoA.8daIiafkzMokbCyXmazlGNHIFD0" with name "{@botname}"
- make embed:
- set color of embed to green
- set description of embed to "**:white_check_mark: Server is online**"
- send last made embed to channel with id "635853018683932672" with "{@botname}"
- broadcast "&aDiscord bot is ready"
- on unload:
- logout of "{@botname}"
- broadcast "&cDiscord bot disconnected"
- on chat:
- send "%sender% > %message%" to channel with id "635853018683932672" with "{@botname}"
- on join:
- make embed:
- set color of embed to green
- set description of embed to "%player% joined"
- send last made embed to channel with id "635853018683932672" with "{@botname}"
- on quit:
- make embed:
- set color of embed to red
- set description of embed to "%player% left"
- send last made embed to channel with id "635853018683932672" with "{@botname}"
- on guild message received seen by "{@botname}":
- if id of event-channel is "635853018683932672":
- delete event-message
- if content of event-message contains "@":
- send ":x: **%mention tag of event-member% You can't ping people on this channel!**" to channel with id "635853018683932672" with "{@botname}"
- stop
- set {_roles::*} to roles of event-member
- broadcast "&bDiscord &8> &7[%{_roles::1}%] &b%event-member%: &7%content of event-message%"
- send "%event-member% > %event-message%" to channel with id "635853018683932672" with "{@botname}"
- discord command ip:
- prefixes: {@prefixes}
- bots: {@botname}
- trigger:
- make embed:
- set color of embed to red
- set title of embed to "Join our server!"
- set description of embed to "**Server ip**: westmine.minehut.gg **"
- reply with last made embed
- discord command ban [<member>] [<text>]:
- roles: {@modroles}
- bots: {@botname}
- prefixes: {@prefixes}
- trigger:
- if arg 1 is not set:
- reply with ":x: **%mention tag of event-member% specify the member you would like to ban!**"
- stop
- if arg 2 is set:
- set {_reason} to arg 2
- else:
- set {_reason} to "Banned by a moderator"
- ban arg 1 from event-guild due to "%{_reason}%"
- reply with ":white_check_mark: %arg 1% has been banned! %nl% Reason: %{_reason}%"
- discord command mute [<member>]:
- roles: {@modroles} {@memberroles}
- bots: {@botname}
- prefixes: {@prefixes}
- trigger:
- if arg 1 is not set:
- reply with ":x: **%mention tag of event-member% specify the member you would like to mute!**"
- stop
- if arg 1 is set:
- add role with id "635925630785028126" to roles of arg 1
- reply with ":white_check_mark: %arg 1% has been muted!"
- discord command unmute [<member>]:
- roles: {@modroles} {@memberroles}
- bots: {@botname}
- prefixes: {@prefixes}
- trigger:
- if arg 1 is not set:
- reply with ":x: **%mention tag of event-member% specify the member you would like to unmute!**"
- stop
- if arg 1 is set:
- remove role with id "635925630785028126" from roles of arg 1
- reply with ":white_check_mark: %arg 1% has been unmuted!"
- command /boton:
- trigger:
- login to "NjI5NTE5Mjg3ODc0NDg2Mjgy.Xa4DoA.8daIiafkzMokbCyXmazlGNHIFD0" with name "{@botname}"
- make embed:
- set color of embed to green
- set description of embed to "**:white_check_mark: Server is online**"
- send last made embed to channel with id "&635853018683932672" with "{@botname}"
- broadcast "&aDiscord bot is ready"
- command /botoff:
- trigger:
- logout of "{@botname}"
- broadcast "&cDiscord bot disconnected"
- discord command kick [<member>] [<text>]:
- roles: {@modroles}
- bots: {@botname}
- prefixes: {@prefixes}
- trigger:
- if arg 1 is not set:
- reply with ":x: **%mention tag of event-member% specify the member you would like to ban!**"
- stop
- if arg 2 is set:
- set {_reason} to arg 2
- else:
- set {_reason} to "You have been kicked ask ♡rosa♡0954 for a new link"
- kick arg 1 from event-guild due to "%{_reason}%"
- reply with ":white_check_mark: %arg 1% has been kicked! %nl% Reason: %{_reason}%"
- discord command warn [<member>] [<text>]:
- roles: {@modroles} {@helperroles}
- bots: {@botname}
- prefixes: {@prefixes}
- trigger:
- if arg 1 is not set:
- reply with ":x: **%mention tag of event-member% specify the member you would like to warn!**"
- stop
- if arg 2 is set:
- set {_reason} to arg 2
- else:
- set {_reason} to "You have been warned, you have 3 chances before a possible punishment!"
- reply with ":white_check_mark: %arg 1% has been WARNED! %nl% Reason: %{_reason}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement