mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-16 20:00:59 -05:00
Update Alpine to 3.20
This commit is contained in:
parent
536fc99fe6
commit
dfadb08cce
@ -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 YARN_VERSION 4.2.2
|
||||||
ENV TZ Australia/Sydney
|
ENV TZ Australia/Sydney
|
||||||
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache
|
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache
|
||||||
|
@ -24,10 +24,11 @@ This is a revision history of how far we come in development cycle;
|
|||||||
|----------|----------|---------|----------|
|
|----------|----------|---------|----------|
|
||||||
| V1 | JavaScript | Discord.JS v13 | Message commands |
|
| V1 | JavaScript | Discord.JS v13 | Message commands |
|
||||||
| V2-V3 | TypeScript | Discord.JS v14 | Slash/message commands |
|
| V2-V3 | TypeScript | Discord.JS v14 | Slash/message commands |
|
||||||
|
| V4 (Private) | Rust | Serenity v0.12.1 | Slash commands |
|
||||||
|
|
||||||
## CLI arguments (`process.argv[..]`)
|
## CLI arguments (`process.argv[..]`)
|
||||||
`yarn dev` - Starts the development bot with predefined args.
|
`yarn dev` - Starts the development bot with predefined args.
|
||||||
The args in question is;
|
The args in question is;
|
||||||
| Argument | Usage |
|
| Argument | Usage |
|
||||||
|----------|-------|
|
|----------|-------|
|
||||||
| `src/DB-Beta.config.json` | Location of config file - [2] |
|
| `src/DB-Beta.config.json` | Location of config file - [2] |
|
||||||
|
@ -112,7 +112,7 @@ export class UserLevelsSvc {
|
|||||||
const performCountBeforeReset = await this.model.count();
|
const performCountBeforeReset = await this.model.count();
|
||||||
const topMembers = await this.model.findAll({order: [['messages', 'DESC']], limit: 5});
|
const topMembers = await this.model.findAll({order: [['messages', 'DESC']], limit: 5});
|
||||||
Logger.console('log', 'Cron:resetAllData', `Counted ${performCountBeforeReset.toLocaleString()} members before reset`);
|
Logger.console('log', 'Cron:resetAllData', `Counted ${performCountBeforeReset.toLocaleString()} members before reset`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await this.client.dailyMsgs.nukeDays();
|
await this.client.dailyMsgs.nukeDays();
|
||||||
await this.model.truncate();
|
await this.model.truncate();
|
||||||
|
Loading…
Reference in New Issue
Block a user