This commit is contained in:
night0721 2022-01-22 20:42:35 +08:00
commit 09159c4627

View file

@ -767,8 +767,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`