Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a3425e2c3 | ||
|
|
ace8170323 |
No files matched your search
+15
-15
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "quetza-bot",
|
"name": "quetza-bot",
|
||||||
"version": "4.2.1",
|
"version": "4.2.3",
|
||||||
"description": "Discord multipurpose bot",
|
"description": "Discord multipurpose bot",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
@@ -37,25 +37,25 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordjs/opus": "^0.9.0",
|
"@discordjs/opus": "^0.9.0",
|
||||||
"@discordjs/voice": "^0.16.0",
|
"@discordjs/voice": "^0.16.1",
|
||||||
"@prisma/client": "5.0.0",
|
"@prisma/client": "5.7.0",
|
||||||
"discord.js": "^14.11.0",
|
"discord.js": "^14.14.1",
|
||||||
"prism-media": "^1.3.5",
|
"prism-media": "^1.3.5",
|
||||||
"tweetnacl": "^1.0.3",
|
"tweetnacl": "^1.0.3",
|
||||||
"winston": "^3.10.0",
|
"winston": "^3.11.0",
|
||||||
"ytdl-core": "^4.11.4"
|
"ytdl-core": "^4.11.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.4.1",
|
"@types/node": "^20.10.4",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
||||||
"@typescript-eslint/parser": "^6.0.0",
|
"@typescript-eslint/parser": "^6.13.2",
|
||||||
"eslint": "^8.44.0",
|
"eslint": "^8.55.0",
|
||||||
"eslint-config-prettier": "^8.8.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.29.0",
|
||||||
"eslint-plugin-simple-import-sort": "^10.0.0",
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
||||||
"mocha": "^10.2.0",
|
"mocha": "^10.2.0",
|
||||||
"prettier": "^3.0.0",
|
"prettier": "^3.1.0",
|
||||||
"prisma": "^5.0.0",
|
"prisma": "^5.7.0",
|
||||||
"typescript": "^5.1.6"
|
"typescript": "^5.3.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+699
-569
File diff suppressed because it is too large.
Load diff
+1
-8
@@ -4,17 +4,10 @@ const logger = winston.createLogger({
|
|||||||
level: "info",
|
level: "info",
|
||||||
format: winston.format.combine(winston.format.timestamp(), winston.format.json()),
|
format: winston.format.combine(winston.format.timestamp(), winston.format.json()),
|
||||||
transports: [
|
transports: [
|
||||||
|
new winston.transports.Console({ format: winston.format.simple() }),
|
||||||
new winston.transports.File({ filename: "logs/error.log", level: "error" }),
|
new winston.transports.File({ filename: "logs/error.log", level: "error" }),
|
||||||
new winston.transports.File({ filename: "logs/combined.log" })
|
new winston.transports.File({ filename: "logs/combined.log" })
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
if (process.env.NODE_ENV !== "production") {
|
|
||||||
logger.add(
|
|
||||||
new winston.transports.Console({
|
|
||||||
format: winston.format.simple()
|
|
||||||
})
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
export default logger;
|
export default logger;
|
||||||
@@ -4,7 +4,7 @@ import { fileURLToPath } from "url";
|
|||||||
const name = "core";
|
const name = "core";
|
||||||
const description = "Quetza core functionality";
|
const description = "Quetza core functionality";
|
||||||
const author = "unknowableshade";
|
const author = "unknowableshade";
|
||||||
const tag = "4.2.0";
|
const tag = "4.2.2";
|
||||||
|
|
||||||
const rootDir = path.dirname(fileURLToPath(import.meta.url));
|
const rootDir = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user