From eb9c98612a82a7e9d3401a39bc2fd5a8f7283265 Mon Sep 17 00:00:00 2001 From: ItzRock Date: Sat, 19 Feb 2022 22:18:39 +0000 Subject: [PATCH] Fixing issue where woomy would endlessly type from an api error --- src/commands/weather.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/weather.js b/src/commands/weather.js index ef01bc8..880436c 100644 --- a/src/commands/weather.js +++ b/src/commands/weather.js @@ -44,6 +44,7 @@ exports.run = async (client, message, args, error) => { message.channel.send(embed) }); } catch(err) { + message.channel.stopTyping(); // Previously wasnt here causing an issue where woomy would endlessly type. return message.channel.send(`<:error:466995152976871434> API error: \`${err}\``) }; };