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