Merge pull request 'Fixing issue where woomy would endlessly type from an api error' (#2) from ItzRock/woomy:master into master
Reviewed-on: #2
This commit is contained in:
commit
4241d54efd
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ exports.run = async (client, message, args, error) => {
|
||||||
message.channel.send(embed)
|
message.channel.send(embed)
|
||||||
});
|
});
|
||||||
} catch(err) {
|
} 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}\``)
|
return message.channel.send(`<:error:466995152976871434> API error: \`${err}\``)
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue