Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ░██████╗██╗░░██╗██████╗░███████╗██████╗░░█████╗░██████╗░████████╗ #
- # ██╔════╝██║░██╔╝██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝ #
- # ╚█████╗░█████═╝░██████╔╝█████╗░░██████╔╝██║░░██║██████╔╝░░░██║░░░ #
- # ░╚═══██╗██╔═██╗░██╔══██╗██╔══╝░░██╔═══╝░██║░░██║██╔══██╗░░░██║░░░ #
- # ██████╔╝██║░╚██╗██║░░██║███████╗██║░░░░░╚█████╔╝██║░░██║░░░██║░░░ #
- # ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚═╝░░░░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░ #
- # Made by wishes#0999 #
- # Don't touch anything if you don't know what it does! #
- # ░█████╗░░█████╗░███╗░░██╗███████╗██╗░██████╗░██╗░░░██╗██████╗░░█████╗░████████╗██╗░█████╗░███╗░░██╗ #
- # ██╔══██╗██╔══██╗████╗░██║██╔════╝██║██╔════╝░██║░░░██║██╔══██╗██╔══██╗╚══██╔══╝██║██╔══██╗████╗░██║ #
- # ██║░░╚═╝██║░░██║██╔██╗██║█████╗░░██║██║░░██╗░██║░░░██║██████╔╝███████║░░░██║░░░██║██║░░██║██╔██╗██║ #
- # ██║░░██╗██║░░██║██║╚████║██╔══╝░░██║██║░░╚██╗██║░░░██║██╔══██╗██╔══██║░░░██║░░░██║██║░░██║██║╚████║ #
- # ╚█████╔╝╚█████╔╝██║░╚███║██║░░░░░██║╚██████╔╝╚██████╔╝██║░░██║██║░░██║░░░██║░░░██║╚█████╔╝██║░╚███║ #
- # ░╚════╝░░╚════╝░╚═╝░░╚══╝╚═╝░░░░░╚═╝░╚═════╝░░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░╚════╝░╚═╝░░╚══╝ #
- options:
- # Report Command Cooldown
- cmd-cooldown: 30 seconds
- # Server Prefix
- prefix:
- # Permission for the staff members to see the report
- perms: skreport.alert
- # Bot Token #
- token:
- # Bot Name #
- bot:
- # Bot Status #
- status:
- # Discord Report channel ID #
- r-chid:
- # ░██████╗██╗░░██╗██████╗░██╗██████╗░████████╗ #
- # ██╔════╝██║░██╔╝██╔══██╗██║██╔══██╗╚══██╔══╝ #
- # ╚█████╗░█████═╝░██████╔╝██║██████╔╝░░░██║░░░ #
- # ░╚═══██╗██╔═██╗░██╔══██╗██║██╔═══╝░░░░██║░░░ #
- # ██████╔╝██║░╚██╗██║░░██║██║██║░░░░░░░░██║░░░ #
- # ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░ #
- # WARNING #
- # DONT TOUCH ANYTHING BEYOND THIS POINT IF YOU DON'T KNOW WHAT YOUR DOING! #
- on load:
- login to "{@token}" with the name "{@bot}"
- mark "{@bot}" as watching "{@status}"
- send "{@bot} has loaded!" to console
- command /report [<offlineplayer>] [<text>]:
- cooldown: {@cmd-cooldown}
- usage: /report <player> <reason>
- trigger:
- if arg-1 is not set:
- send "{@prefix} &cMake sure to input a player to report!"
- if arg-1 is set:
- if arg-2 is not set:
- send "{@prefix} &cMake sure to input a reason to report &4%arg-1%&c!"
- if arg-1 is set:
- if arg-2 is set:
- make embed:
- set the colour of the embed to red
- set title of the embed to "New Report!"
- set description of the embed to "We've recieved a new report from the server!"
- add field named "Player Reported" with value "%arg-1%" to embed
- add field named "Reason" with value "%arg-2%" to embed
- set footer of the embed to "Reported by %player%"
- send last created embed to channel with id "{@r-chid}" with "{@bot}"
- send "{@prefix} &aYou have successfully reported &c%arg-1% &afor &c%arg-2%&a." to player
- send "{@prefix} &cA new report has been made, please check the report logs for more information!" to all players where [player input has permission "{@perms}"]
- # Thanks for using my skript! If you have any suggestions then please DM me!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement