nyx

The first CODM discrod bot -- cath.exe Template
git clone https://codeberg.org/night0721/nyx
Log | Files | Refs | LICENSE

commit db2594a6aa9e5c6f4414360c7974438c040a2426
parent 1098b97060545d43c3fc4e5faa8cf7bc46e400cc
Author: Night Kaly <[email protected]>
Date:   Sun, 16 Jan 2022 22:39:30 +0000

build fix

Diffstat:
Mcommand/CODM/build.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/command/CODM/build.js b/command/CODM/build.js @@ -749,8 +749,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`