Disky report system

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

etheboi_

Active Member
Nov 9, 2023
90
1
8
So I have my code and everything looks fine but I can't find any tutorials on how to send messages on specific channel. I also thought it would be better to get help on here for embedds as well.

My current code:
define new bot named "Soul Games":
token: "#####################################################"
intents: default intents
policy: all
auto reconnect: true
compression: none

on ready:
set {_report} to a new slash command named "Report" with description "Report a player on discord"
add new user option named "User" with description "Enter the user you woul like to report"
add new string option named "Reason" with description "Enter reason why you are reporting them"


update {_report} globally in event-bot
send "&aBot updated!" to console

on slash command:
if event-string is "report":
set {_user} to argument "User" as user
set {_reason} to argument "Reason" as user

Can anyone help?
 
There are also errors that say:

[Skript] Reloading discord-bot.sk...
09.11 16:17:29 [Server] Line 10: (discord-bot.sk)
09.11 16:17:29 [Server] Can't understand this condition/effect: add a new user option named "User" with description "Enter the user you woul like to report"
09.11 16:17:29 [Server] Line: add a new user option named "User" with description "Enter the user you woul like to report"
09.11 16:17:29 [Server] Line 11: (discord-bot.sk)
09.11 16:17:29 [Server] Can't understand this condition/effect: add a new string option named "Reason" with description "Enter reason why you are reporting them"
09.11 16:17:29 [Server] Line: add a new string option named "Reason" with description "Enter reason why you are reporting them"
09.11 16:17:29 [Server] [Skript] Encountered 2 errors while reloading discord-bot.sk! (11ms)