Merge branch 'clansty:rainbowcat' into rainbowcat

This commit is contained in:
谷風 天音 たにかぜ あまね 2024-01-10 18:02:50 +08:00 committed by GitHub
commit 61570f7a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 534 additions and 545 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View File

@ -17,32 +17,32 @@
"@types/date-and-time": "^0.13.0",
"@types/fluent-ffmpeg": "^2.1.24",
"@types/lodash": "^4.14.201",
"@types/node": "^18.6.3",
"@types/prompts": "^2.4.8",
"@types/sharp": "^0.31.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"@types/node": "^20.10.7",
"@types/prompts": "^2.4.9",
"@types/sharp": "^0.32.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@prisma/client": "5.5.2",
"@prisma/client": "5.8.0",
"axios": "^0.27.2",
"baidu-aip-sdk": "^4.16.10",
"baidu-aip-sdk": "^4.16.15",
"big-integer": "^1.6.51",
"cli-progress": "^3.11.2",
"date-and-time": "^2.4.1",
"dotenv": "^16.0.1",
"eviltransform": "^0.2.2",
"file-type": "^17.1.4",
"file-type": "^19.0.0",
"fluent-ffmpeg": "^2.1.2",
"icqq": "^0.6.7",
"image-size": "^1.0.2",
"image-size": "^1.1.1",
"lodash": "^4.17.21",
"log4js": "^6.6.1",
"nodejs-base64": "^2.0.0",
"prisma": "5.5.2",
"prisma": "5.8.0",
"prompts": "^2.4.2",
"quote-api": "https://github.com/Clansty/quote-api/archive/8a47aa84e6920afd00fb8a2d56e816dbcb6c1283.tar.gz",
"sharp": "^0.32.6",
"quote-api": "https://github.com/Clansty/quote-api/archive/37a0e48a434b94bb04c04c7d86d9f0d2295df869.tar.gz",
"sharp": "^0.33.1",
"silk-sdk": "^0.2.2",
"telegram": "^2.19.10",
"tmp-promise": "^3.0.3",

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ import { randomBytes } from 'crypto';
import { escapeXml, gzip, timestamp } from 'icqq/lib/common';
import { pb } from 'icqq/lib/core';
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'info';
const LOG_LEVEL: LogLevel = process.env.LOG_LEVEL as LogLevel || 'warn';
type MessageHandler = (event: PrivateMessageEvent | GroupMessageEvent) => Promise<boolean | void>

View File

@ -45,7 +45,6 @@ export default class {
await this.getMessages();
this.currentStatus = 'getMedia';
await this.messagesToTxt();
console.log(this.importTxt, this.filesMap);
this.currentStatus = 'uploadMessage';
await this.updateStatusMessage();
/* await this.importMessagesAndMedia(); */

View File

@ -411,7 +411,6 @@ export default class ForwardService {
}<hr hidden="false" style="0" /><summary size="26" color="#777777"></summary
></item><source name="Q2TG" icon="" action="" appid="-1" /></msg>`.replaceAll('\n', ''),
});
console.log(chain);
brief += '[Spoiler 图片]';
}
else {
@ -663,7 +662,6 @@ export default class ForwardService {
}
}
tempFiles.forEach(it => it.cleanup());
console.log(qqMessages);
return qqMessages;
}
catch (e) {