Skip to content

Commit

Permalink
update package and DISCORDDELAY
Browse files Browse the repository at this point in the history
  • Loading branch information
zeteticl committed Dec 26, 2023
1 parent c7bef75 commit fe3ee1c
Show file tree
Hide file tree
Showing 4 changed files with 338 additions and 169 deletions.
2 changes: 2 additions & 0 deletions .env.copy
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ OPENAI_SECRET_11=

OPENAI_MODEL=

DISCORDDELAY=

PLURK_SWITCH=
PLURK_APPKEY=
PLURK_APPSECRET=
Expand Down
2 changes: 1 addition & 1 deletion modules/core-Discord.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
if (!process.env.DISCORD_CHANNEL_SECRET) {
return;
}
const DELAY = process.env.DISCORDDELAY || 1000 * 5;
const DELAY = process.env.DISCORDDELAY || 1000 * 15;
const agenda = require('../modules/schedule') && require('../modules/schedule').agenda;
const channelSecret = process.env.DISCORD_CHANNEL_SECRET;
const { ClusterManager, HeartbeatManager } = require('discord-hybrid-sharding');
Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"agenda": "^4.2.1",
"axios": "^1.6.0",
"axios-retry": "^3.2.4",
"bcdice": "^4.1.0",
"bcdice": "^4.5.0",
"bufferutil": "^4.0.3",
"chai": "^4.3.4",
"cheerio": "^1.0.0-rc.12",
"chinese-conv": "^1.0.1",
"crypto-js": "^4.2.0",
"discord-api-types": "^0.28.0",
"discord-hybrid-sharding": "^2",
"discord.js": "^14.7.1",
"discord-api-types": "^0.37.66",
"discord-hybrid-sharding": "^2.1.4",
"discord.js": "^14.14.1",
"dotenv": "^8.2.0",
"emoji-regex": "^10.0.0",
"engine.io": "^6.4.2",
Expand All @@ -49,16 +49,16 @@
"https": "^1.0.0",
"image-url-validator": "^1.0.4",
"jimp": "^0.16.2",
"log-to-file": "^3.0.0",
"mathjs": "^9.3.0",
"log-to-file": "^3.0.3",
"mathjs": "^12.2.1",
"moment": "^2.29.4",
"moment-timezone": "^0.5.35",
"mongoose": "^6",
"node-schedule": "^2.1.0",
"node-telegram-bot-api": "^0.61.0",
"openai": "^4.7.1",
"node-telegram-bot-api": "^0.64.0",
"openai": "^4.24.1",
"plurk2": "github:zeteticl/node-plurk2",
"puppeteer": "^13.3.1",
"puppeteer": "^13.7.0",
"qrcode-terminal": "^0.12.0",
"random-js": "^2.1.0",
"rate-limiter-flexible": "^2.2.3",
Expand All @@ -71,9 +71,9 @@
"topgg-autoposter": "^2.0.0",
"utf-8-validate": "^5.0.5",
"uws": "^9.14.0",
"whatsapp-web.js": "^1.20.0",
"wikijs": "6.2.1",
"winston": "^3.8.2",
"whatsapp-web.js": "^1.23.0",
"wikijs": "6.4.1",
"winston": "^3.11.0",
"ws": "^7.5.3"
},
"keywords": [
Expand Down
Loading

0 comments on commit fe3ee1c

Please sign in to comment.