Skip to content

Commit

Permalink
Update Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TecEash1 committed Apr 11, 2024
1 parent b88c5c1 commit 2898342
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions functions/logConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ module.exports = (client) => {
function customLogger(type, ...messages) {
const combinedMessage = messages.map(m => (typeof m === 'object' ? JSON.stringify(m, null, 2) : m)).join(' ');

if (combinedMessage === "By passing no model path, you're using the model hosted by Infinite.red - Please download and host the model before releasing this in production. See NSFWJS docs for instructions.") {
return;
}
if (combinedMessage === "%cBy not specifying 'modelOrUrl' parameter, you're using the default model: 'MobileNetV2'. See NSFWJS docs for instructions on hosting your own model (https://github.com/infinitered/nsfwjs?tab=readme-ov-file#host-your-own-model). color: lightblue") return;

let messageToSend = combinedMessage;
if (combinedMessage.length > 4070) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taurus",
"version": "3.0",
"version": "3.1",
"description": "An AI Discord Bot!",
"types": "./typings.d.ts",
"main": "bot.js",
Expand All @@ -23,18 +23,18 @@
"url": "https://github.com/TecEash1/Taurus/issues"
},
"dependencies": {
"@google/generative-ai": "^0.3.1",
"@google/generative-ai": "^0.5.0",
"@iamtraction/google-translate": "^2.0.1",
"@tensorflow/tfjs-node": "^4.17.0",
"api": "^6.1.1",
"axios": "^1.6.7",
"axios": "^1.6.8",
"blessed": "^0.1.81",
"chalk": "^5.3.0",
"discord-api-types": "^0.37.43",
"discord-api-types": "^0.37.79",
"discord.js": "^14.14.1",
"figlet": "^1.7.0",
"moment": "^2.30.1",
"nsfwjs": "^3.0.0",
"nsfwjs": "^4.1.0",
"os": "^0.1.2"
}
}

0 comments on commit 2898342

Please sign in to comment.