From 055e76d646f38c8091033331fda9de23517f12eb Mon Sep 17 00:00:00 2001 From: Alex / Awex Date: Sat, 16 Oct 2021 01:21:46 -0400 Subject: [PATCH] added splitstat privacy --- assets/js/splitstat.js | 15 ++- splitstatbot/legal-mumbojumbo/privacy.html | 133 +++++++++++++++++++++ 2 files changed, 140 insertions(+), 8 deletions(-) create mode 100644 splitstatbot/legal-mumbojumbo/privacy.html diff --git a/assets/js/splitstat.js b/assets/js/splitstat.js index f09303f..5ad2c0c 100644 --- a/assets/js/splitstat.js +++ b/assets/js/splitstat.js @@ -1,13 +1,12 @@ async function checkForOutage() { - Global = {} - Global.error = false - await fetch(`https://api-splitstat.awexxx.xyz/heartbeat`).then(response => response.json()).catch(err => { - Global.error = true; - document.getElementById(`status`).innerText = `offline!` - document.getElementById(`addon`).innerText = `API returned nothing when sent a heartbeat.` - }) + var data = await fetch(`https://st.awexxx.xyz/heartbeat`) - if (Global.error === false) { + console.log(data) + + if (data.response !== 200) { + document.getElementById(`status`).innerText = `offline!` + document.getElementById(`addon`).innerText = `API didn't respond!` + } else if (data.response === 200) { document.getElementById(`status`).innerText = `online!` document.getElementById(`addon`).innerText = `API responded when sent a heartbeat!` } diff --git a/splitstatbot/legal-mumbojumbo/privacy.html b/splitstatbot/legal-mumbojumbo/privacy.html new file mode 100644 index 0000000..dc8a531 --- /dev/null +++ b/splitstatbot/legal-mumbojumbo/privacy.html @@ -0,0 +1,133 @@ + + + + + Awex >> Splitstat + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

SplitStat - Privacy and how I handle it

+

SplitStat operates the SplitStat Discord Bot & all content at https://awexxx.xyz/splitstatbot.
SplitStat will never ask for any personal information.
+ SplitStat will only log/retain data that may be collected from you adding the bot to the server, along with any commands that were ran. This includes but is not limited to;
+


+ If you run into an error, SplitStat may generate a "case ID" and assign it to your username and disclose it with the Developer. All of this is private and is never shared with the public.
+ This policy only affects SplitStat. SplitStat may link to external sources that have different terms & privacy notices, and SplitStat does not have control over these sites/what they do with your information.

+ + + + + + \ No newline at end of file