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
- 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}
- 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:
- mute arg 1 using "%{@botname}%"
- reply with ":white_check_mark: %arg 1% has been unmuted!"
- discord command unmute [<member>]:
- 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 unmute!**"
- stop
- if arg 1 is set:
- unmute arg 1 using "{@botname}"
- reply with ":white_check_mark: %arg 1% has been unmuted!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement