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)
.catch();
if (!data) {
.catch(e => null);
if (!data?.ID) {
const embed = new MessageEmbed()
.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`