Fixing issue where woomy would endlessly type from an api error

This commit is contained in:
ItzRock 2022-02-19 22:18:39 +00:00
parent 7cd499e10c
commit eb9c98612a

View file

@ -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}\``)
};
};