mirror of https://github.com/Nofated095/Q2TG.git
Compare commits
31 Commits
51f5a17807
...
61570f7a8b
Author | SHA1 | Date |
---|---|---|
谷風 天音 たにかぜ あまね | 61570f7a8b | |
Clansty | fe0fc61d2e | |
凌莞~(=^▽^=) | 43d1029165 | |
dependabot[bot] | 305afc6ba9 | |
凌莞~(=^▽^=) | f0acf253d9 | |
凌莞~(=^▽^=) | da4aa3d9f8 | |
凌莞~(=^▽^=) | 1df17e207a | |
凌莞~(=^▽^=) | e6a3a95768 | |
dependabot[bot] | 40178eb68e | |
dependabot[bot] | ac4a820ecf | |
dependabot[bot] | 6867d29e54 | |
dependabot[bot] | 7d313431c1 | |
Clansty | 8db36a261e | |
Clansty | 1003bdfdb0 | |
Clansty | a35895ee0c | |
凌莞~(=^▽^=) | eca61fc5be | |
dependabot[bot] | 32b24957d3 | |
凌莞~(=^▽^=) | 78070f5cf0 | |
dependabot[bot] | 238b1247c2 | |
凌莞~(=^▽^=) | 36b8f11f2c | |
dependabot[bot] | ef235d0966 | |
凌莞~(=^▽^=) | 48d70e17e8 | |
凌莞~(=^▽^=) | 955cd1f0bc | |
dependabot[bot] | ea61aa6b05 | |
dependabot[bot] | f9f4c60c5b | |
凌莞~(=^▽^=) | 3dd3734421 | |
凌莞~(=^▽^=) | cf6adeb1a4 | |
dependabot[bot] | d7358409e4 | |
dependabot[bot] | 24edc40495 | |
凌莞~(=^▽^=) | 1ab27798a5 | |
谷風 天音 たにかぜ あまね | 752d5ad9bf |
|
@ -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"
|
24
package.json
24
package.json
|
@ -17,32 +17,32 @@
|
||||||
"@types/date-and-time": "^0.13.0",
|
"@types/date-and-time": "^0.13.0",
|
||||||
"@types/fluent-ffmpeg": "^2.1.24",
|
"@types/fluent-ffmpeg": "^2.1.24",
|
||||||
"@types/lodash": "^4.14.201",
|
"@types/lodash": "^4.14.201",
|
||||||
"@types/node": "^18.6.3",
|
"@types/node": "^20.10.7",
|
||||||
"@types/prompts": "^2.4.8",
|
"@types/prompts": "^2.4.9",
|
||||||
"@types/sharp": "^0.31.1",
|
"@types/sharp": "^0.32.0",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "^5.2.2"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@prisma/client": "5.5.2",
|
"@prisma/client": "5.8.0",
|
||||||
"axios": "^0.27.2",
|
"axios": "^0.27.2",
|
||||||
"baidu-aip-sdk": "^4.16.10",
|
"baidu-aip-sdk": "^4.16.15",
|
||||||
"big-integer": "^1.6.51",
|
"big-integer": "^1.6.51",
|
||||||
"cli-progress": "^3.11.2",
|
"cli-progress": "^3.11.2",
|
||||||
"date-and-time": "^2.4.1",
|
"date-and-time": "^2.4.1",
|
||||||
"dotenv": "^16.0.1",
|
"dotenv": "^16.0.1",
|
||||||
"eviltransform": "^0.2.2",
|
"eviltransform": "^0.2.2",
|
||||||
"file-type": "^17.1.4",
|
"file-type": "^19.0.0",
|
||||||
"fluent-ffmpeg": "^2.1.2",
|
"fluent-ffmpeg": "^2.1.2",
|
||||||
"icqq": "^0.6.7",
|
"icqq": "^0.6.7",
|
||||||
"image-size": "^1.0.2",
|
"image-size": "^1.1.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"log4js": "^6.6.1",
|
"log4js": "^6.6.1",
|
||||||
"nodejs-base64": "^2.0.0",
|
"nodejs-base64": "^2.0.0",
|
||||||
"prisma": "5.5.2",
|
"prisma": "5.8.0",
|
||||||
"prompts": "^2.4.2",
|
"prompts": "^2.4.2",
|
||||||
"quote-api": "https://github.com/Clansty/quote-api/archive/8a47aa84e6920afd00fb8a2d56e816dbcb6c1283.tar.gz",
|
"quote-api": "https://github.com/Clansty/quote-api/archive/37a0e48a434b94bb04c04c7d86d9f0d2295df869.tar.gz",
|
||||||
"sharp": "^0.32.6",
|
"sharp": "^0.33.1",
|
||||||
"silk-sdk": "^0.2.2",
|
"silk-sdk": "^0.2.2",
|
||||||
"telegram": "^2.19.10",
|
"telegram": "^2.19.10",
|
||||||
"tmp-promise": "^3.0.3",
|
"tmp-promise": "^3.0.3",
|
||||||
|
|
1039
pnpm-lock.yaml
1039
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -21,7 +21,7 @@ import { randomBytes } from 'crypto';
|
||||||
import { escapeXml, gzip, timestamp } from 'icqq/lib/common';
|
import { escapeXml, gzip, timestamp } from 'icqq/lib/common';
|
||||||
import { pb } from 'icqq/lib/core';
|
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>
|
type MessageHandler = (event: PrivateMessageEvent | GroupMessageEvent) => Promise<boolean | void>
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,6 @@ export default class {
|
||||||
await this.getMessages();
|
await this.getMessages();
|
||||||
this.currentStatus = 'getMedia';
|
this.currentStatus = 'getMedia';
|
||||||
await this.messagesToTxt();
|
await this.messagesToTxt();
|
||||||
console.log(this.importTxt, this.filesMap);
|
|
||||||
this.currentStatus = 'uploadMessage';
|
this.currentStatus = 'uploadMessage';
|
||||||
await this.updateStatusMessage();
|
await this.updateStatusMessage();
|
||||||
/* await this.importMessagesAndMedia(); */
|
/* await this.importMessagesAndMedia(); */
|
||||||
|
|
|
@ -411,7 +411,6 @@ export default class ForwardService {
|
||||||
}<hr hidden="false" style="0" /><summary size="26" color="#777777">请谨慎查看</summary
|
}<hr hidden="false" style="0" /><summary size="26" color="#777777">请谨慎查看</summary
|
||||||
></item><source name="Q2TG" icon="" action="" appid="-1" /></msg>`.replaceAll('\n', ''),
|
></item><source name="Q2TG" icon="" action="" appid="-1" /></msg>`.replaceAll('\n', ''),
|
||||||
});
|
});
|
||||||
console.log(chain);
|
|
||||||
brief += '[Spoiler 图片]';
|
brief += '[Spoiler 图片]';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -663,7 +662,6 @@ export default class ForwardService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tempFiles.forEach(it => it.cleanup());
|
tempFiles.forEach(it => it.cleanup());
|
||||||
console.log(qqMessages);
|
|
||||||
return qqMessages;
|
return qqMessages;
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue