Zackaery Posted March 2, 2022 Share Posted March 2, 2022 This is a guide on how to use webhooks for discord, to allow your script to send information to your discord server. Step 1 - Creating a server: You need to create a discord server that you will want to have your discord webhooks sent too. If you don't have one already, follow the pictures below: Now give your server a name, and click create! Step 2 - Creating a channel for your webhooks: Create a new channel for your webhooks to be sent to. If you want this channel to only be seen by you, and there's other people in your discord, I'd advise you to set this channel to private. Your username of the account will be sent in the webhook, so only allow people you trust to see these. Step 3 - Creating your webhook: Now to create the actual webhook link via discord, you will need to add the integration to the channel. You can easily do so by following below: Step 4 - Adding your webhook to Script Factory: Now navigate to Script Factory, and open up the settings, we will paste the webhook there. DO NOT SHARE YOUR WEBHOOK WITH ANYONE YOU DO NOT TRUST. - Anyone that has access to your webhook will be allowed to use it and send anything they want to that channel, so make sure to only share it with those you trust! Step 5 - Creating your webhook action on Script Factory: Now, on Script Factory, we will go ahead and link up our webhook to a method, so we can get a discord notification in real time of what's going on with our script. Firstly, create your method that you want to trigger the webhook. I will be using an example for equipping a Dragon scimitar. After you create the method, now you can add an action to that method to send your webhook, you can add the webhook by adding the action below via Other > Variables > Send Discord Message: Fill in the message you want to send, you can use Discords special characters to bold text / quote / italic / etc. You can't use [ : Colon] or [ , Comma] unfortunately. Step 6 - Testing your webhook: Now press play, and watch your discord message get sent! Congratulations, you've successfully set up your discord webhooks, and can now see stuff in real time, while you're away from your bots! 2 Quote Link to comment Share on other sites More sharing options...