From b4135169e7b79d81fd9caad9ed1ff465b7e9b881 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 3 Mar 2021 11:27:04 +0000 Subject: [PATCH] Update ready.js --- src/listeners/ready.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/listeners/ready.js b/src/listeners/ready.js index 9bddb1e..54afa1d 100644 --- a/src/listeners/ready.js +++ b/src/listeners/ready.js @@ -8,15 +8,16 @@ module.exports = { /** * OH NO, TELEMETRY!? - * Relax, it just counts how many people are using DiscordTickets. + * Relax, it just counts how many people are using DiscordTickets by storing the bot's ID. + * You can see the source here: */ - if (client.config.super_secret_setting) { + if (client.config.super_secret_setting) { // you can disable it if you really want const fetch = require('node-fetch'); - fetch(`https://discordtickets-telemetry.eartharoid.repl.co/?id=${client.user.id}`, { + fetch(`https://telemetry.discordtickets.app/?id=${client.user.id}`, { method: 'post', }).catch(e => { // fail quietly, it doesn't really matter if it didn't work - log.debug('Warning: failed to post to discordtickets-telemetry'); + log.debug('Warning: failed to post to telemetry.discordtickets.app'); log.debug(e); }); }