Advertisement
Guest User

SkReport

a guest
Aug 22nd, 2021
530
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. # ░██████╗██╗░░██╗██████╗░███████╗██████╗░░█████╗░██████╗░████████╗ #
  2. # ██╔════╝██║░██╔╝██╔══██╗██╔════╝██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝ #
  3. # ╚█████╗░█████═╝░██████╔╝█████╗░░██████╔╝██║░░██║██████╔╝░░░██║░░░ #
  4. # ░╚═══██╗██╔═██╗░██╔══██╗██╔══╝░░██╔═══╝░██║░░██║██╔══██╗░░░██║░░░ #
  5. # ██████╔╝██║░╚██╗██║░░██║███████╗██║░░░░░╚█████╔╝██║░░██║░░░██║░░░ #
  6. # ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝╚═╝░░░░░░╚════╝░╚═╝░░╚═╝░░░╚═╝░░░ #
  7.  
  8.  
  9. # Made by wishes#0999 #
  10. # Don't touch anything if you don't know what it does! #
  11.  
  12.  
  13. # ░█████╗░░█████╗░███╗░░██╗███████╗██╗░██████╗░██╗░░░██╗██████╗░░█████╗░████████╗██╗░█████╗░███╗░░██╗ #
  14. # ██╔══██╗██╔══██╗████╗░██║██╔════╝██║██╔════╝░██║░░░██║██╔══██╗██╔══██╗╚══██╔══╝██║██╔══██╗████╗░██║ #
  15. # ██║░░╚═╝██║░░██║██╔██╗██║█████╗░░██║██║░░██╗░██║░░░██║██████╔╝███████║░░░██║░░░██║██║░░██║██╔██╗██║ #
  16. # ██║░░██╗██║░░██║██║╚████║██╔══╝░░██║██║░░╚██╗██║░░░██║██╔══██╗██╔══██║░░░██║░░░██║██║░░██║██║╚████║ #
  17. # ╚█████╔╝╚█████╔╝██║░╚███║██║░░░░░██║╚██████╔╝╚██████╔╝██║░░██║██║░░██║░░░██║░░░██║╚█████╔╝██║░╚███║ #
  18. # ░╚════╝░░╚════╝░╚═╝░░╚══╝╚═╝░░░░░╚═╝░╚═════╝░░╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░╚════╝░╚═╝░░╚══╝ #
  19.  
  20.  
  21. options:
  22. # Report Command Cooldown
  23. cmd-cooldown: 30 seconds
  24. # Server Prefix
  25. prefix:
  26. # Permission for the staff members to see the report
  27. perms: skreport.alert
  28. # Bot Token #
  29. token:
  30. # Bot Name #
  31. bot:
  32. # Bot Status #
  33. status:
  34. # Discord Report channel ID #
  35. r-chid:
  36.  
  37.  
  38. # ░██████╗██╗░░██╗██████╗░██╗██████╗░████████╗ #
  39. # ██╔════╝██║░██╔╝██╔══██╗██║██╔══██╗╚══██╔══╝ #
  40. # ╚█████╗░█████═╝░██████╔╝██║██████╔╝░░░██║░░░ #
  41. # ░╚═══██╗██╔═██╗░██╔══██╗██║██╔═══╝░░░░██║░░░ #
  42. # ██████╔╝██║░╚██╗██║░░██║██║██║░░░░░░░░██║░░░ #
  43. # ╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═╝░░░░░░░░╚═╝░░░ #
  44.  
  45. # WARNING #
  46. # DONT TOUCH ANYTHING BEYOND THIS POINT IF YOU DON'T KNOW WHAT YOUR DOING! #
  47.  
  48. on load:
  49. login to "{@token}" with the name "{@bot}"
  50. mark "{@bot}" as watching "{@status}"
  51. send "{@bot} has loaded!" to console
  52.  
  53. command /report [<offlineplayer>] [<text>]:
  54. cooldown: {@cmd-cooldown}
  55. usage: /report <player> <reason>
  56. trigger:
  57. if arg-1 is not set:
  58. send "{@prefix} &cMake sure to input a player to report!"
  59. if arg-1 is set:
  60. if arg-2 is not set:
  61. send "{@prefix} &cMake sure to input a reason to report &4%arg-1%&c!"
  62. if arg-1 is set:
  63. if arg-2 is set:
  64. make embed:
  65. set the colour of the embed to red
  66. set title of the embed to "New Report!"
  67. set description of the embed to "We've recieved a new report from the server!"
  68. add field named "Player Reported" with value "%arg-1%" to embed
  69. add field named "Reason" with value "%arg-2%" to embed
  70. set footer of the embed to "Reported by %player%"
  71. send last created embed to channel with id "{@r-chid}" with "{@bot}"
  72. send "{@prefix} &aYou have successfully reported &c%arg-1% &afor &c%arg-2%&a." to player
  73. 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}"]
  74.  
  75.  
  76. # Thanks for using my skript! If you have any suggestions then please DM me!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement