1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-25 10:55:37 -05:00

Update Alpine to 3.20

This commit is contained in:
toast-ts 2024-05-28 10:52:35 +10:00
parent 536fc99fe6
commit dfadb08cce
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:22.1.0-alpine3.19
FROM node:22.2.0-alpine3.20
ENV YARN_VERSION 4.2.2
ENV TZ Australia/Sydney
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache

View File

@ -24,10 +24,11 @@ This is a revision history of how far we come in development cycle;
|----------|----------|---------|----------|
| V1 | JavaScript | Discord.JS v13 | Message commands |
| V2-V3 | TypeScript | Discord.JS v14 | Slash/message commands |
| V4 (Private) | Rust | Serenity v0.12.1 | Slash commands |
## CLI arguments (`process.argv[..]`)
`yarn dev` - Starts the development bot with predefined args.
The args in question is;
The args in question is;
| Argument | Usage |
|----------|-------|
| `src/DB-Beta.config.json` | Location of config file - [2] |

View File

@ -112,7 +112,7 @@ export class UserLevelsSvc {
const performCountBeforeReset = await this.model.count();
const topMembers = await this.model.findAll({order: [['messages', 'DESC']], limit: 5});
Logger.console('log', 'Cron:resetAllData', `Counted ${performCountBeforeReset.toLocaleString()} members before reset`);
try {
await this.client.dailyMsgs.nukeDays();
await this.model.truncate();