From e31eb3f3e4786be2f57a6c0f1aa3bbe1ca80a3ae Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 24 Oct 2024 02:19:29 +0200 Subject: [PATCH 1/2] Remove unused url variable --- util/getWeather.js | 1 - 1 file changed, 1 deletion(-) diff --git a/util/getWeather.js b/util/getWeather.js index 878f26c..96fc74c 100644 --- a/util/getWeather.js +++ b/util/getWeather.js @@ -8,7 +8,6 @@ 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) => { From fb45f1fc5aae99d20a92be45d21d037f9ba5e7b9 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 24 Oct 2024 17:12:14 +0200 Subject: [PATCH 2/2] setpresence: Add all presence types to moreHelp --- commands/admin/setPresence.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/setPresence.js b/commands/admin/setPresence.js index bd750f8..4588dd2 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" + ,"PLAY, LISTEN, WATCH, CUSTOM, COMPETING" ,"Presence type have to be the first argument" ,"Example: `setpresence watch ${guilds} servers`", ,"Updates once a minute if custom variables are used."