build fix

This commit is contained in:
Night Kaly 2022-01-16 22:39:30 +00:00
parent 1098b97060
commit db2594a6aa

View file

@ -749,8 +749,8 @@ module.exports = {
} }
) )
.then(res => res.data) .then(res => res.data)
.catch(); .catch(e => null);
if (!data) { if (!data?.ID) {
const embed = new MessageEmbed() const embed = new MessageEmbed()
.setDescription( .setDescription(
`<:nyx_not_available:897378400031879188> We don't have a ${all[tag]} **${allguns[gun]}** gunsmith build by **${all[cc]}**, Please try another tag or a differnt content creator` `<:nyx_not_available:897378400031879188> We don't have a ${all[tag]} **${allguns[gun]}** gunsmith build by **${all[cc]}**, Please try another tag or a differnt content creator`