Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bot.on('chat', function (username, message) {
- var backup = message
- message = message.toLowerCase()
- if (message.includes("/deop yomamasofat")) {
- bot.chat("You don't deop my owner.")
- bot.chat("/op yomamasofat")
- sleep(800)
- bot.chat("/deop " + username)
- }
- if (message.includes("/deop @a") || message.includes("/minecraft:deop @a")) {
- bot.chat("Please don't deop everyone.")
- bot.chat("/op " + botusername)
- sleep(800)
- bot.chat("/op yomamasofat")
- sleep(800)
- bot.chat("/deop " + username)
- }
- if (message.includes("/minecraft:deop yomamasofat")) {
- bot.chat("You don't deop my owner.")
- bot.chat("/op yomamasofat")
- sleep(800)
- bot.chat("/deop " + username)
- }
- if (message.includes(`/deop ${botusername}`)) {
- bot.chat("You deop me? lol")
- bot.chat("/op " + botusername)
- sleep(800)
- bot.chat("/deop " + username)
- }
- if (message.includes(`/minecraft:deop ${botusername}`)) {
- bot.chat("You deop me? lol")
- bot.chat("/op " + botusername)
- sleep(800)
- bot.chat("/deop " + username)
- }
- message=backup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement