From 5168c5c582d1559b30c783c254366c0529989594 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 20 Jun 2024 18:11:15 -0600 Subject: [PATCH] Update UA --- funcs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs.js b/funcs.js index 9e1fa49..88f0579 100644 --- a/funcs.js +++ b/funcs.js @@ -8,7 +8,7 @@ const getCoordinates = async (location) => { // use custom useragent (discord-iem-bot, chris@chrischro.me) const options = { headers: { - 'User-Agent': '(discord-iem-bot, chris@chrischro.me)', + 'User-Agent': 'Discord-IEM-Bot/1.0 (chris@chrischro.me)', }, }; // Make request @@ -36,7 +36,7 @@ const getForecast = async (lat, lon) => { // use same custom ua const options = { headers: { - 'User-Agent': '(discord-iem-bot, chris@chrischro.me)', + 'User-Agent': 'Discord-IEM-Bot/1.0 (chris@chrischro.me)', }, }; // Make request