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:
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 TZ Australia/Sydney
|
||||
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 |
|
||||
| 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] |
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user