From 16ecb9aae57434be42f896ee7350b9a6b6995f20 Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 18 Jun 2023 20:47:08 +0100 Subject: [PATCH] Updated the README.md --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c937ad2..4239169 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ # Speedtest_logger -A basic script that uses Speedtest-cli and logs the result to a csv file \ No newline at end of file +A basic script that uses Speedtest-cli and logs the result to a csv file +
/br> +### How to Create a Discord Web Hook + +1) On your Discord server, right click on the text channel that you want the results to appear in and then select "Edit Channel". +2) Select the "Intergrations" menu and then select "Webhooks". +3) Click the blue "New Webhook" button, this will create a new Webhook with a random name. +4) Clock on the newly created Webhook. This will let you change the name and set a a picute that will appear when a post is created, this can be changed to something like "Speedtest Bot". +5) Click the "Copy Webhook URL" and make a note of it. +6) You can not select "ESC" at the top to exit the settings. + +### Edit the script +1) Open the Speedtest.sh or .bat file (depending if you are using the Linux verison or the Windows version) and replace the "DISCORD_WEBHOOK_URL" with the coppied Webhook URL. +2) Change the WAN "NUMBER" option, this is handy if you have multiple connections to test. +