diff --git a/commands/admin/setPresence.js b/commands/admin/setPresence.js index 4588dd2..bd750f8 100644 --- a/commands/admin/setPresence.js +++ b/commands/admin/setPresence.js @@ -4,7 +4,7 @@ module.exports = { name: 'setpresence', description: 'Set the presence for the bot', moreHelp: ["Presence types you can use:" - ,"PLAY, LISTEN, WATCH, CUSTOM, COMPETING" + ,"PLAY, LISTEN, WATCH" ,"Presence type have to be the first argument" ,"Example: `setpresence watch ${guilds} servers`", ,"Updates once a minute if custom variables are used." diff --git a/util/getWeather.js b/util/getWeather.js index 96fc74c..878f26c 100644 --- a/util/getWeather.js +++ b/util/getWeather.js @@ -8,6 +8,7 @@ module.exports = async function (location) { method: 'GET', timeout: 5000 } + const url = `https://wttr.in/${location}?format=4&M` // 4 = one line, M = metric wind speed let success = false; let weather = await new Promise((resolve, reject) => { https.get(options, (res) => {