prevent repeat logs?

This commit is contained in:
SowinskiBraeden committed 2023-07-02 10:36:12 -07:00
1 parent d1c205da58
commit 14c3c7b99f
4 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -19,10 +19,11 @@ module.exports = {
if (!res.data || !res.data.token) {
client.error(`Error downloading File "${filename}":`);
client.error(res);
return;
return -1;
}
const { body } = await fetch(res.data.token.url);
await finished(Readable.fromWeb(body).pipe(stream));
return 0;
},
HandlePlayerBan: async (client, gamertag, ban) => {